Put constraints (positional) before args (keywords).
This commit is contained in:
parent
15911e6bfe
commit
15f571d296
@ -88,7 +88,7 @@ class ModelGenerator(object):
|
||||
|
||||
data = {
|
||||
'name': name,
|
||||
'commonStuff': ', '.join([type_repr] + args + constraints),
|
||||
'commonStuff': ', '.join([type_repr] + constraints + args),
|
||||
}
|
||||
|
||||
if self.declarative:
|
||||
|
Loading…
x
Reference in New Issue
Block a user