2021-12-06 12:43:34 -08:00
|
|
|
from enum import Enum
|
|
|
|
|
2022-04-06 21:14:32 -07:00
|
|
|
|
2022-07-05 15:33:51 -07:00
|
|
|
class ApiCallStatus(str, Enum):
|
2023-05-04 00:58:06 -07:00
|
|
|
"""The status of an async API call.""" # noqa: E501
|
|
|
|
|
|
|
|
"""# The async API call is queued. """ # noqa: E501
|
|
|
|
QUEUED = "Queued"
|
|
|
|
"""# The async API call was uploaded to be converted. """ # noqa: E501
|
|
|
|
UPLOADED = "Uploaded"
|
|
|
|
"""# The async API call is in progress. """ # noqa: E501
|
|
|
|
IN_PROGRESS = "In Progress"
|
|
|
|
"""# The async API call has completed. """ # noqa: E501
|
|
|
|
COMPLETED = "Completed"
|
|
|
|
"""# The async API call has failed. """ # noqa: E501
|
|
|
|
FAILED = "Failed"
|
2021-12-06 12:43:34 -08:00
|
|
|
|
2022-04-06 21:14:32 -07:00
|
|
|
def __str__(self) -> str:
|
|
|
|
return str(self.value)
|