Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

34 rindas
521B

  1. from enum import Enum, unique
  2. @unique
  3. class PushStreamStatus(Enum):
  4. WAITING = (5, "待推流")
  5. RETRYING = (10, "重试中")
  6. RUNNING = (15, "推流中")
  7. STOPPING = (20, "停止中")
  8. SUCCESS = (25, "完成")
  9. TIMEOUT = (30, "超时")
  10. FAILED = (35, "失败")
  11. @unique
  12. class ExecuteStatus(Enum):
  13. WAITING = (5, "待执行")
  14. RUNNING = (10, "执行中")
  15. STOPPING = (15, "停止中")
  16. SUCCESS = (20, "执行完成")
  17. TIMEOUT = (25, "超时")
  18. FAILED = (30, "失败")