kittycad.models.async_api_call_results_page.AsyncApiCallResultsPage
- class kittycad.models.async_api_call_results_page.AsyncApiCallResultsPage(items=<kittycad.types.Unset object>, next_page=<kittycad.types.Unset object>)[source][source]
Bases:
object
A single page of results
Method generated by attrs for class AsyncApiCallResultsPage.
- __init__(items=<kittycad.types.Unset object>, next_page=<kittycad.types.Unset object>)[source]
Method generated by attrs for class AsyncApiCallResultsPage.
Methods
__init__
([items, next_page])Method generated by attrs for class AsyncApiCallResultsPage.
from_dict
(src_dict)- rtype:
TypeVar
(HO
, bound= AsyncApiCallResultsPage)
to_dict
()Attributes
- class AsyncApiCall(completed_at=<kittycad.types.Unset object>, created_at=<kittycad.types.Unset object>, error=<kittycad.types.Unset object>, id=<kittycad.types.Unset object>, input=<kittycad.types.Unset object>, output=<kittycad.types.Unset object>, started_at=<kittycad.types.Unset object>, status=<kittycad.types.Unset object>, type=<kittycad.types.Unset object>, updated_at=<kittycad.types.Unset object>, user_id=<kittycad.types.Unset object>, worker=<kittycad.types.Unset object>)[source]
Bases:
object
An async API call.
Method generated by attrs for class AsyncApiCall.
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'completed_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'created_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'error': typing.Union[kittycad.types.Unset, str], 'id': typing.Union[kittycad.types.Unset, str], 'input': typing.Union[kittycad.types.Unset, typing.Any], 'output': typing.Union[kittycad.types.Unset, typing.Any], 'started_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'status': typing.Union[kittycad.types.Unset, kittycad.models.api_call_status.ApiCallStatus], 'type': typing.Union[kittycad.types.Unset, kittycad.models.async_api_call_type.AsyncApiCallType], 'updated_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'user_id': typing.Union[kittycad.types.Unset, str], 'worker': typing.Union[kittycad.types.Unset, str]}[source]
- __attrs_attrs__ = (Attribute(name='completed_at', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, datetime.datetime], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='completed_at'), Attribute(name='created_at', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, datetime.datetime], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='created_at'), Attribute(name='error', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='error'), Attribute(name='id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='id'), Attribute(name='input', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='input'), Attribute(name='output', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='output'), Attribute(name='started_at', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, datetime.datetime], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='started_at'), Attribute(name='status', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.api_call_status.ApiCallStatus], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='status'), Attribute(name='type', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.async_api_call_type.AsyncApiCallType], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='updated_at', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, datetime.datetime], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='updated_at'), Attribute(name='user_id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='user_id'), Attribute(name='worker', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='worker'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties'))[source]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.async_api_call', '__annotations__': {'completed_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'created_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'error': typing.Union[kittycad.types.Unset, str], 'id': typing.Union[kittycad.types.Unset, str], 'input': typing.Union[kittycad.types.Unset, typing.Any], 'output': typing.Union[kittycad.types.Unset, typing.Any], 'started_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'status': typing.Union[kittycad.types.Unset, kittycad.models.api_call_status.ApiCallStatus], 'type': typing.Union[kittycad.types.Unset, kittycad.models.async_api_call_type.AsyncApiCallType], 'updated_at': typing.Union[kittycad.types.Unset, datetime.datetime], 'user_id': typing.Union[kittycad.types.Unset, str], 'worker': typing.Union[kittycad.types.Unset, str], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'An async API call.', 'to_dict': <function AsyncApiCall.to_dict>, 'from_dict': <classmethod(<function AsyncApiCall.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function AsyncApiCall.__getitem__>, '__setitem__': <function AsyncApiCall.__setitem__>, '__delitem__': <function AsyncApiCall.__delitem__>, '__contains__': <function AsyncApiCall.__contains__>, '__dict__': <attribute '__dict__' of 'AsyncApiCall' objects>, '__weakref__': <attribute '__weakref__' of 'AsyncApiCall' objects>, '__attrs_attrs__': (Attribute(name='completed_at', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, datetime.datetime], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='completed_at'), Attribute(name='created_at', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, datetime.datetime], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='created_at'), Attribute(name='error', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='error'), Attribute(name='id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='id'), Attribute(name='input', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='input'), Attribute(name='output', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='output'), Attribute(name='started_at', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, datetime.datetime], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='started_at'), Attribute(name='status', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.api_call_status.ApiCallStatus], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='status'), Attribute(name='type', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, kittycad.models.async_api_call_type.AsyncApiCallType], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), Attribute(name='updated_at', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, datetime.datetime], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='updated_at'), Attribute(name='user_id', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='user_id'), Attribute(name='worker', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='worker'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties')), '__repr__': <function AsyncApiCall.__repr__>, '__eq__': <function AsyncApiCall.__eq__>, '__ne__': <function AsyncApiCall.__ne__>, '__lt__': <function AsyncApiCall.__lt__>, '__le__': <function AsyncApiCall.__le__>, '__gt__': <function AsyncApiCall.__gt__>, '__ge__': <function AsyncApiCall.__ge__>, '__hash__': None, '__init__': <function AsyncApiCall.__init__>, '__match_args__': ('completed_at', 'created_at', 'error', 'id', 'input', 'output', 'started_at', 'status', 'type', 'updated_at', 'user_id', 'worker')})[source]
- __init__(completed_at=<kittycad.types.Unset object>, created_at=<kittycad.types.Unset object>, error=<kittycad.types.Unset object>, id=<kittycad.types.Unset object>, input=<kittycad.types.Unset object>, output=<kittycad.types.Unset object>, started_at=<kittycad.types.Unset object>, status=<kittycad.types.Unset object>, type=<kittycad.types.Unset object>, updated_at=<kittycad.types.Unset object>, user_id=<kittycad.types.Unset object>, worker=<kittycad.types.Unset object>)[source]
Method generated by attrs for class AsyncApiCall.
- __match_args__ = ('completed_at', 'created_at', 'error', 'id', 'input', 'output', 'started_at', 'status', 'type', 'updated_at', 'user_id', 'worker')[source]
-
status:
Union
[Unset
,ApiCallStatus
][source]
-
type:
Union
[Unset
,AsyncApiCallType
][source]
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'items': typing.Union[kittycad.types.Unset, typing.List[kittycad.models.async_api_call.AsyncApiCall]], 'next_page': typing.Union[kittycad.types.Unset, str]}[source]
- __attrs_attrs__ = (Attribute(name='items', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, typing.List[kittycad.models.async_api_call.AsyncApiCall]], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='items'), Attribute(name='next_page', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='next_page'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties'))[source]
- __dict__ = mappingproxy({'__module__': 'kittycad.models.async_api_call_results_page', '__annotations__': {'items': typing.Union[kittycad.types.Unset, typing.List[kittycad.models.async_api_call.AsyncApiCall]], 'next_page': typing.Union[kittycad.types.Unset, str], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'A single page of results', 'AsyncApiCall': <class 'kittycad.models.async_api_call.AsyncApiCall'>, 'to_dict': <function AsyncApiCallResultsPage.to_dict>, 'from_dict': <classmethod(<function AsyncApiCallResultsPage.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function AsyncApiCallResultsPage.__getitem__>, '__setitem__': <function AsyncApiCallResultsPage.__setitem__>, '__delitem__': <function AsyncApiCallResultsPage.__delitem__>, '__contains__': <function AsyncApiCallResultsPage.__contains__>, '__dict__': <attribute '__dict__' of 'AsyncApiCallResultsPage' objects>, '__weakref__': <attribute '__weakref__' of 'AsyncApiCallResultsPage' objects>, '__attrs_attrs__': (Attribute(name='items', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, typing.List[kittycad.models.async_api_call.AsyncApiCall]], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='items'), Attribute(name='next_page', default=<kittycad.types.Unset object>, validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=typing.Union[kittycad.types.Unset, str], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='next_page'), Attribute(name='additional_properties', default=Factory(factory=<class 'dict'>, takes_self=False), validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=False, metadata=mappingproxy({}), type=typing.Dict[str, typing.Any], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='additional_properties')), '__repr__': <function AsyncApiCallResultsPage.__repr__>, '__eq__': <function AsyncApiCallResultsPage.__eq__>, '__ne__': <function AsyncApiCallResultsPage.__ne__>, '__lt__': <function AsyncApiCallResultsPage.__lt__>, '__le__': <function AsyncApiCallResultsPage.__le__>, '__gt__': <function AsyncApiCallResultsPage.__gt__>, '__ge__': <function AsyncApiCallResultsPage.__ge__>, '__hash__': None, '__init__': <function AsyncApiCallResultsPage.__init__>, '__match_args__': ('items', 'next_page')})[source]
- __init__(items=<kittycad.types.Unset object>, next_page=<kittycad.types.Unset object>)[source]
Method generated by attrs for class AsyncApiCallResultsPage.