How to set minOccurs and maxOccurs parameters during type definition?
Asked by
Alexey Ustinnikov
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?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- ladon Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- jsgaarde
- Solved:
- Last query:
- Last reply:
To post a message you must log in.