Benjamin Mampaey

Results 5 issues of Benjamin Mampaey

Hello, Some of my enum values are like so "\_whatever_", which is not supported by enum.Enum. See https://docs.python.org/3.6/library/enum.html#allowed-members-and-attributes-of-enumerations > The rules for what is allowed are as follows: names that...

This proposed change will make sure that the parameters of the \_\_init__ of a class respects the order of the definitions in the schema.

When an object has no property, the produced \_\_init__ for the class is empty. This fix add "pass" in that case so that the produced python code is correct.

…ween 2 runs on the same schema The topological sort of the model dependency graph is not stable. By setting the nbunch parameter it is "more" stable. It is useful...

In the class template _class.tmpl, in the setter of the property of a class, in case there is an enum, the value is set on self.__type. It should be on...