Move Color Enum to utils.py
This commit is contained in:
10
datasets/raise/utils.py
Normal file
10
datasets/raise/utils.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from enum import Enum, auto
|
||||
|
||||
class Color(Enum):
|
||||
RED = auto()
|
||||
GREEN_RIGHT = auto()
|
||||
GREEN_BOTTOM = auto()
|
||||
BLUE = auto()
|
||||
|
||||
def __str__(self):
|
||||
return self.name.lower()
|
||||
Reference in New Issue
Block a user