kittycad.models.executor_metadata.ExecutorMetadata
- class kittycad.models.executor_metadata.ExecutorMetadata(docker_info=<kittycad.types.Unset object>, environment=<kittycad.types.Unset object>, git_hash=<kittycad.types.Unset object>)[source][source]
Bases:
object
Metadata about our currently running server.
This is mostly used for internal purposes and debugging.
Method generated by attrs for class ExecutorMetadata.
- __init__(docker_info=<kittycad.types.Unset object>, environment=<kittycad.types.Unset object>, git_hash=<kittycad.types.Unset object>)[source]
Method generated by attrs for class ExecutorMetadata.
Methods
__init__
([docker_info, environment, git_hash])Method generated by attrs for class ExecutorMetadata.
from_dict
(src_dict)- rtype:
TypeVar
(LT
, bound= ExecutorMetadata)
to_dict
()Attributes
- __annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'docker_info': typing.Union[kittycad.types.Unset, kittycad.models.docker_system_info.DockerSystemInfo], 'environment': typing.Union[kittycad.types.Unset, kittycad.models.environment.Environment], 'git_hash': typing.Union[kittycad.types.Unset, str]}[source]
- __attrs_attrs__ = (Attribute(name='docker_info', 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.docker_system_info.DockerSystemInfo], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='docker_info'), Attribute(name='environment', 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.environment.Environment], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='environment'), Attribute(name='git_hash', 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='git_hash'), 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.executor_metadata', '__annotations__': {'docker_info': typing.Union[kittycad.types.Unset, kittycad.models.docker_system_info.DockerSystemInfo], 'environment': typing.Union[kittycad.types.Unset, kittycad.models.environment.Environment], 'git_hash': typing.Union[kittycad.types.Unset, str], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Metadata about our currently running server.\n\n This is mostly used for internal purposes and debugging.', 'to_dict': <function ExecutorMetadata.to_dict>, 'from_dict': <classmethod(<function ExecutorMetadata.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function ExecutorMetadata.__getitem__>, '__setitem__': <function ExecutorMetadata.__setitem__>, '__delitem__': <function ExecutorMetadata.__delitem__>, '__contains__': <function ExecutorMetadata.__contains__>, '__dict__': <attribute '__dict__' of 'ExecutorMetadata' objects>, '__weakref__': <attribute '__weakref__' of 'ExecutorMetadata' objects>, '__attrs_attrs__': (Attribute(name='docker_info', 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.docker_system_info.DockerSystemInfo], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='docker_info'), Attribute(name='environment', 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.environment.Environment], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='environment'), Attribute(name='git_hash', 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='git_hash'), 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 ExecutorMetadata.__repr__>, '__eq__': <function ExecutorMetadata.__eq__>, '__ne__': <function ExecutorMetadata.__ne__>, '__lt__': <function ExecutorMetadata.__lt__>, '__le__': <function ExecutorMetadata.__le__>, '__gt__': <function ExecutorMetadata.__gt__>, '__ge__': <function ExecutorMetadata.__ge__>, '__hash__': None, '__init__': <function ExecutorMetadata.__init__>, '__match_args__': ('docker_info', 'environment', 'git_hash')})[source]
- __init__(docker_info=<kittycad.types.Unset object>, environment=<kittycad.types.Unset object>, git_hash=<kittycad.types.Unset object>)[source]
Method generated by attrs for class ExecutorMetadata.
-
docker_info:
Union
[Unset
,DockerSystemInfo
][source]
-
environment:
Union
[Unset
,Environment
][source]