kittycad.models.async_api_call_type

Classes

AsyncApiCallType(value)

The type of async API call.

class kittycad.models.async_api_call_type.AsyncApiCallType(value)[source][source]

The type of async API call.

FILE_CENTER_OF_MASS = 'file_center_of_mass'[source]

# File mass.

FILE_CONVERSION = 'file_conversion'[source]

# File volume.

FILE_DENSITY = 'file_density'[source]

# File surface area.

FILE_MASS = 'file_mass'[source]

# File density.

FILE_SURFACE_AREA = 'file_surface_area'[source]

# Text to CAD.

FILE_VOLUME = 'file_volume'[source]

# File center of mass.

TEXT_TO_CAD = 'text_to_cad'[source]
__dict__ = mappingproxy({'_generate_next_value_': <function Enum._generate_next_value_>, '__module__': 'kittycad.models.async_api_call_type', '__doc__': 'The type of async API call.', '__str__': <function AsyncApiCallType.__str__>, '__dict__': <attribute '__dict__' of 'AsyncApiCallType' objects>, '__weakref__': <attribute '__weakref__' of 'AsyncApiCallType' objects>, '_member_names_': ['FILE_CONVERSION', 'FILE_VOLUME', 'FILE_CENTER_OF_MASS', 'FILE_MASS', 'FILE_DENSITY', 'FILE_SURFACE_AREA', 'TEXT_TO_CAD'], '_member_map_': {'FILE_CONVERSION': <AsyncApiCallType.FILE_CONVERSION: 'file_conversion'>, 'FILE_VOLUME': <AsyncApiCallType.FILE_VOLUME: 'file_volume'>, 'FILE_CENTER_OF_MASS': <AsyncApiCallType.FILE_CENTER_OF_MASS: 'file_center_of_mass'>, 'FILE_MASS': <AsyncApiCallType.FILE_MASS: 'file_mass'>, 'FILE_DENSITY': <AsyncApiCallType.FILE_DENSITY: 'file_density'>, 'FILE_SURFACE_AREA': <AsyncApiCallType.FILE_SURFACE_AREA: 'file_surface_area'>, 'TEXT_TO_CAD': <AsyncApiCallType.TEXT_TO_CAD: 'text_to_cad'>}, '_member_type_': <class 'str'>, '_value2member_map_': {'file_conversion': <AsyncApiCallType.FILE_CONVERSION: 'file_conversion'>, 'file_volume': <AsyncApiCallType.FILE_VOLUME: 'file_volume'>, 'file_center_of_mass': <AsyncApiCallType.FILE_CENTER_OF_MASS: 'file_center_of_mass'>, 'file_mass': <AsyncApiCallType.FILE_MASS: 'file_mass'>, 'file_density': <AsyncApiCallType.FILE_DENSITY: 'file_density'>, 'file_surface_area': <AsyncApiCallType.FILE_SURFACE_AREA: 'file_surface_area'>, 'text_to_cad': <AsyncApiCallType.TEXT_TO_CAD: 'text_to_cad'>}, 'FILE_CONVERSION': <AsyncApiCallType.FILE_CONVERSION: 'file_conversion'>, 'FILE_VOLUME': <AsyncApiCallType.FILE_VOLUME: 'file_volume'>, 'FILE_CENTER_OF_MASS': <AsyncApiCallType.FILE_CENTER_OF_MASS: 'file_center_of_mass'>, 'FILE_MASS': <AsyncApiCallType.FILE_MASS: 'file_mass'>, 'FILE_DENSITY': <AsyncApiCallType.FILE_DENSITY: 'file_density'>, 'FILE_SURFACE_AREA': <AsyncApiCallType.FILE_SURFACE_AREA: 'file_surface_area'>, 'TEXT_TO_CAD': <AsyncApiCallType.TEXT_TO_CAD: 'text_to_cad'>, '__repr__': <function Enum.__repr__>, '__format__': <function Enum.__format__>, '__new__': <function Enum.__new__>, '__annotations__': {}})[source]
__module__ = 'kittycad.models.async_api_call_type'[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_ = {'FILE_CENTER_OF_MASS': AsyncApiCallType.FILE_CENTER_OF_MASS, 'FILE_CONVERSION': AsyncApiCallType.FILE_CONVERSION, 'FILE_DENSITY': AsyncApiCallType.FILE_DENSITY, 'FILE_MASS': AsyncApiCallType.FILE_MASS, 'FILE_SURFACE_AREA': AsyncApiCallType.FILE_SURFACE_AREA, 'FILE_VOLUME': AsyncApiCallType.FILE_VOLUME, 'TEXT_TO_CAD': AsyncApiCallType.TEXT_TO_CAD}[source]
_member_names_ = ['FILE_CONVERSION', 'FILE_VOLUME', 'FILE_CENTER_OF_MASS', 'FILE_MASS', 'FILE_DENSITY', 'FILE_SURFACE_AREA', 'TEXT_TO_CAD'][source]
_member_type_[source]

alias of str

_value2member_map_ = {'file_center_of_mass': AsyncApiCallType.FILE_CENTER_OF_MASS, 'file_conversion': AsyncApiCallType.FILE_CONVERSION, 'file_density': AsyncApiCallType.FILE_DENSITY, 'file_mass': AsyncApiCallType.FILE_MASS, 'file_surface_area': AsyncApiCallType.FILE_SURFACE_AREA, 'file_volume': AsyncApiCallType.FILE_VOLUME, 'text_to_cad': AsyncApiCallType.TEXT_TO_CAD}[source]