ladon-dev-team team mailing list archive
-
ladon-dev-team team
-
Mailing list archive
-
Message #00197
[Question #284493]: How to set minOccurs and maxOccurs parameters during type definition?
New question #284493 on ladon:
https://answers.launchpad.net/ladon/+question/284493
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 affect: 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.