Skip to content
Snippets Groups Projects

Correct str enum type

Merged Theodore Chang requested to merge wrong-enum-value into develop
2 files
+ 8
8
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 5
5
@@ -40,11 +40,11 @@ def url(*args, **kwargs):
class Formats(str, Enum):
xml = ('xml',)
n3 = ('n3',)
turtle = ('turtle',)
nt = ('nt',)
pretty_xml = ('pretty-xml',)
xml = 'xml'
n3 = 'n3'
turtle = 'turtle'
nt = 'nt'
pretty_xml = 'pretty-xml'
trig = 'trig'
Loading