mirror of
https://github.com/clearml/clearml-server
synced 2025-01-31 10:56:48 +00:00
10 lines
219 B
Python
10 lines
219 B
Python
from enum import Enum
|
|
|
|
|
|
class StringEnum(Enum):
|
|
def __str__(self):
|
|
return self.value
|
|
|
|
# noinspection PyMethodParameters
|
|
def _generate_next_value_(name, start, count, last_values):
|
|
return name |