<filename>models/direction.py
from enum import Enum


class Direction(Enum):
    horizontal = 1
    vertical = 2

<filename>models/direction.py
from enum import Enum


class Direction(Enum):
    horizontal = 1
    vertical = 2
