kittycad.models.api_call_status.ApiCallStatus

class kittycad.models.api_call_status.ApiCallStatus(value)[source][source]

Bases: str, enum.Enum

The status of an async API call.

__init__()[source]

Attributes

QUEUED

# The async API call was uploaded to be converted.

UPLOADED

# The async API call is in progress.

IN_PROGRESS

# The async API call has completed.

COMPLETED

# The async API call has failed.

FAILED

COMPLETED = 'Completed'[source]

# The async API call has failed.

FAILED = 'Failed'[source]
IN_PROGRESS = 'In Progress'[source]

# The async API call has completed.

QUEUED = 'Queued'[source]

# The async API call was uploaded to be converted.

UPLOADED = 'Uploaded'[source]

# The async API call is in progress.

__annotations__ = {}[source]
__dict__ = mappingproxy({'_generate_next_value_': <function Enum._generate_next_value_>, '__module__': 'kittycad.models.api_call_status', '__doc__': 'The status of an async API call.', '__str__': <function ApiCallStatus.__str__>, '__dict__': <attribute '__dict__' of 'ApiCallStatus' objects>, '__weakref__': <attribute '__weakref__' of 'ApiCallStatus' objects>, '_member_names_': ['QUEUED', 'UPLOADED', 'IN_PROGRESS', 'COMPLETED', 'FAILED'], '_member_map_': {'QUEUED': <ApiCallStatus.QUEUED: 'Queued'>, 'UPLOADED': <ApiCallStatus.UPLOADED: 'Uploaded'>, 'IN_PROGRESS': <ApiCallStatus.IN_PROGRESS: 'In Progress'>, 'COMPLETED': <ApiCallStatus.COMPLETED: 'Completed'>, 'FAILED': <ApiCallStatus.FAILED: 'Failed'>}, '_member_type_': <class 'str'>, '_value2member_map_': {'Queued': <ApiCallStatus.QUEUED: 'Queued'>, 'Uploaded': <ApiCallStatus.UPLOADED: 'Uploaded'>, 'In Progress': <ApiCallStatus.IN_PROGRESS: 'In Progress'>, 'Completed': <ApiCallStatus.COMPLETED: 'Completed'>, 'Failed': <ApiCallStatus.FAILED: 'Failed'>}, 'QUEUED': <ApiCallStatus.QUEUED: 'Queued'>, 'UPLOADED': <ApiCallStatus.UPLOADED: 'Uploaded'>, 'IN_PROGRESS': <ApiCallStatus.IN_PROGRESS: 'In Progress'>, 'COMPLETED': <ApiCallStatus.COMPLETED: 'Completed'>, 'FAILED': <ApiCallStatus.FAILED: 'Failed'>, '__repr__': <function Enum.__repr__>, '__format__': <function Enum.__format__>, '__new__': <function Enum.__new__>, '__annotations__': {}})[source]
__module__ = 'kittycad.models.api_call_status'[source]
_generate_next_value_(start, count, last_values)[source]

Generate the next value when not given.

name: the name of the member start: the initial start value or None count: the number of existing members last_value: the last value assigned or None

_member_map_ = {'COMPLETED': ApiCallStatus.COMPLETED, 'FAILED': ApiCallStatus.FAILED, 'IN_PROGRESS': ApiCallStatus.IN_PROGRESS, 'QUEUED': ApiCallStatus.QUEUED, 'UPLOADED': ApiCallStatus.UPLOADED}[source]
_member_names_ = ['QUEUED', 'UPLOADED', 'IN_PROGRESS', 'COMPLETED', 'FAILED'][source]
_member_type_[source]

alias of str

_value2member_map_ = {'Completed': ApiCallStatus.COMPLETED, 'Failed': ApiCallStatus.FAILED, 'In Progress': ApiCallStatus.IN_PROGRESS, 'Queued': ApiCallStatus.QUEUED, 'Uploaded': ApiCallStatus.UPLOADED}[source]