mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 13:34:28 +00:00
13 lines
256 B
Python
13 lines
256 B
Python
from enum import Enum, auto
|
|
|
|
|
|
class Emotion(Enum):
|
|
HAPPY = auto()
|
|
SAD = auto()
|
|
ANGRY = auto()
|
|
|
|
def __str__(self):
|
|
return self.name
|
|
|
|
def __repr__(self):
|
|
return f"<{self.__class__.__qualname__} {self.name}: {self.value}>"
|