You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

AnalysisStatusEnum.py 290B

2 年之前
123456789101112131415161718192021
  1. from enum import Enum, unique
  2. # 分析状态枚举
  3. @unique
  4. class AnalysisStatus(Enum):
  5. # 等待
  6. WAITING = "waiting"
  7. # 分析中
  8. RUNNING = "running"
  9. # 分析完成
  10. SUCCESS = "success"
  11. # 超时
  12. TIMEOUT = "timeout"
  13. # 失败
  14. FAILED = "failed"