1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 13:34:28 +00:00
royalnet/keipack/utils/emotion.py
2019-11-11 13:40:26 +01:00

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}>"