add default_roles support

This commit is contained in:
Emmanuel Garette 2020-03-06 07:34:54 +01:00
parent 27f145cd6d
commit 5fdca08c4d
1 changed files with 2 additions and 0 deletions

View File

@ -46,6 +46,7 @@ class MessageDefinition:
'uri', 'uri',
'description', 'description',
'parameters', 'parameters',
'default_roles',
'errors', 'errors',
'pattern', 'pattern',
'related', 'related',
@ -57,6 +58,7 @@ class MessageDefinition:
self.parameters = OrderedDict() self.parameters = OrderedDict()
self.errors = [] self.errors = []
self.related = [] self.related = []
self.default_roles = []
self.response = None self.response = None
self.uri = message self.uri = message