open:python-enum

python enum

class SelectType(str, Enum):
    """
    - https://art049.github.io/odmantic/fields/#enum-fields
    """
    division = 'division'  # 구분
    category = 'category'  # 카테고리
    owner = 'owner'  # 소유자
    payment = 'payment'  # 지불수단


  • open/python-enum.txt
  • 마지막으로 수정됨: 2021/04/15 05:06
  • 저자 127.0.0.1