ALwrity Version 0.5.1 (Fastapi + React)
This commit is contained in:
15
ToBeMigrated/content_scheduler/models/job_status.py
Normal file
15
ToBeMigrated/content_scheduler/models/job_status.py
Normal file
@@ -0,0 +1,15 @@
|
||||
"""
|
||||
Job status model for content scheduling.
|
||||
"""
|
||||
|
||||
from enum import Enum
|
||||
|
||||
class JobStatus(str, Enum):
|
||||
"""Enum representing the status of a scheduled job."""
|
||||
|
||||
PENDING = "pending"
|
||||
RUNNING = "running"
|
||||
COMPLETED = "completed"
|
||||
FAILED = "failed"
|
||||
CANCELLED = "cancelled"
|
||||
RETRYING = "retrying"
|
||||
Reference in New Issue
Block a user