kittycad.models.executor_metadata

Classes

ExecutorMetadata([docker_info, environment, ...])

Metadata about our currently running server.

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]

Metadata about our currently running server.

This is mostly used for internal purposes and debugging.

Method generated by attrs for class ExecutorMetadata.

__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]
__contains__(key)[source][source]
Return type:

bool

__delitem__(key)[source][source]
Return type:

None

__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]
__eq__(other)[source]

Method generated by attrs for class ExecutorMetadata.

__ge__(other)[source]

Method generated by attrs for class ExecutorMetadata.

__getitem__(key)[source][source]
Return type:

Any

__gt__(other)[source]

Method generated by attrs for class ExecutorMetadata.

__hash__ = None[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.

__le__(other)[source]

Method generated by attrs for class ExecutorMetadata.

__lt__(other)[source]

Method generated by attrs for class ExecutorMetadata.

__match_args__ = ('docker_info', 'environment', 'git_hash')[source]
__module__ = 'kittycad.models.executor_metadata'[source]
__ne__(other)[source]

Method generated by attrs for class ExecutorMetadata.

__repr__()[source]

Method generated by attrs for class ExecutorMetadata.

__setitem__(key, value)[source][source]
Return type:

None

property additional_keys: List[str][source]
additional_properties: Dict[str, Any][source]
docker_info: Union[Unset, DockerSystemInfo][source]
environment: Union[Unset, Environment][source]
classmethod from_dict(src_dict)[source][source]
Return type:

TypeVar(LT, bound= ExecutorMetadata)

git_hash: Union[Unset, str][source]
to_dict()[source][source]
Return type:

Dict[str, Any]