123456789101112131415161718 |
- #!/usr/bin/env python
- # -*- coding: utf-8 -*-
- import enum
- class PlatformEnum(str, enum.Enum):
- teacher = "teacher"
- student = "student"
- admin = "admin"
- class MethodEnum(str, enum.Enum):
- GET = "GET"
- POST = "POST"
- PUT = "PUT"
- DELETE = "DELETE"
|