kittycad.models.ok_modeling_cmd_response.empty
- class kittycad.models.ok_modeling_cmd_response.empty(type='empty')[source][source]
Bases:
object
An empty response, used for any command that does not explicitly have a response defined here.
Method generated by attrs for class empty.
Methods
__init__
([type])Method generated by attrs for class empty.
from_dict
(src_dict)- rtype:
TypeVar
(YW
, bound= empty)
to_dict
()Attributes
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'type': <class 'str'>}[source]
- __attrs_attrs__ = (Attribute(name='type', default='empty', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), 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.ok_modeling_cmd_response', '__annotations__': {'type': <class 'str'>, 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'An empty response, used for any command that does not explicitly have a response defined here.', 'to_dict': <function empty.to_dict>, 'from_dict': <classmethod(<function empty.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function empty.__getitem__>, '__setitem__': <function empty.__setitem__>, '__delitem__': <function empty.__delitem__>, '__contains__': <function empty.__contains__>, '__dict__': <attribute '__dict__' of 'empty' objects>, '__weakref__': <attribute '__weakref__' of 'empty' objects>, '__attrs_attrs__': (Attribute(name='type', default='empty', validator=None, repr=True, eq=True, eq_key=None, order=True, order_key=None, hash=None, init=True, metadata=mappingproxy({}), type=<class 'str'>, converter=None, kw_only=False, inherited=False, on_setattr=None, alias='type'), 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 empty.__repr__>, '__eq__': <function empty.__eq__>, '__ne__': <function empty.__ne__>, '__lt__': <function empty.__lt__>, '__le__': <function empty.__le__>, '__gt__': <function empty.__gt__>, '__ge__': <function empty.__ge__>, '__hash__': None, '__init__': <function empty.__init__>, '__match_args__': ('type',)})[source]