ladon-dev-team team mailing list archive
-
ladon-dev-team team
-
Mailing list archive
-
Message #00198
Re: [Question #284493]: How to set minOccurs and maxOccurs parameters during type definition?
Question #284493 on ladon changed:
https://answers.launchpad.net/ladon/+question/284493
Description changed to:
I want to do something like this:
str_nullable = {
'type': PORTABLE_STRING,
'nullable': True,
'minOccurs': 1
}
class Auth(LadonType):
login = str_nullable
password = str_nullable
but in fact setting minOccurs parameter has no effect: it's always
`minOccurs`= 0 when i set `nullable` = True. Can I do this somehow?
--
You received this question notification because your team Ladon
Developer is an answer contact for ladon.