1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2025-02-25 14:15:04 +00:00
royalnet/keipack/utils/emotion.py

14 lines
256 B
Python
Raw Normal View History

2019-11-11 13:40:26 +01:00
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}>"