kittycad.models.api_call_status

Classes

ApiCallStatus(value)

The status of an async API call.

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

The status of an async API call.

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.

__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]