1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 21:44:21 +00:00
royalnet/keipack/utils/emotion.py

14 lines
256 B
Python
Raw Normal View History

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