jschema-to-python
jschema-to-python copied to clipboard
Don't assume that an enum value is a string
When deciding whether to quote an enum value in an initializer, look at the first element of the enum. (It's true that enum values can be of mixed types, but then we are lost.)