11 lines
362 B
Python
11 lines
362 B
Python
from enum import Enum
|
|
|
|
# (str, Enum), like EnumRoles and PermissionTag: a bare Enum member is not JSON
|
|
# serializable, so JSONResponse raises the moment a serializer emits this field.
|
|
class Candidate_application_Status(str, Enum):
|
|
PROCESS="PROCESS"
|
|
PENDING="PENDING"
|
|
APPROVED="APPROVED"
|
|
REJECTED="REJECTED"
|
|
ONHOLD="ONHOLD"
|
|
CLOSED="CLOSED" |