jschema-to-python icon indicating copy to clipboard operation
jschema-to-python copied to clipboard

Don't assume that an enum value is a string

Open ghost opened this issue 5 years ago • 0 comments

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.)

ghost avatar Sep 20 '19 21:09 ghost