Skip to content
Snippets Groups Projects
Commit 4cdb55ce authored by Theodore Chang's avatar Theodore Chang
Browse files

Commit

parent 9a4c2a54
No related branches found
No related tags found
1 merge request!2037Correct str enum type
Pipeline #216082 passed
......@@ -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'
......
......@@ -45,9 +45,9 @@ logger = get_logger(__name__)
class ToolStateEnum(str, Enum):
running = ('running',)
starting = ('starting',)
stopping = ('stopping',)
running = 'running'
starting = 'starting'
stopping = 'stopping'
stopped = 'stopped'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment