kittycad.models.engine_metadata.EngineMetadata

class kittycad.models.engine_metadata.EngineMetadata(async_jobs_running=False, cache=<kittycad.types.Unset object>, environment=<kittycad.types.Unset object>, fs=<kittycad.types.Unset object>, git_hash=<kittycad.types.Unset object>, pubsub=<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 EngineMetadata.

__init__(async_jobs_running=False, cache=<kittycad.types.Unset object>, environment=<kittycad.types.Unset object>, fs=<kittycad.types.Unset object>, git_hash=<kittycad.types.Unset object>, pubsub=<kittycad.types.Unset object>)[source]

Method generated by attrs for class EngineMetadata.

Methods

__init__([async_jobs_running, cache, ...])

Method generated by attrs for class EngineMetadata.

from_dict(src_dict)

rtype:

TypeVar(CE, bound= EngineMetadata)

to_dict()

rtype:

Dict[str, Any]

Attributes

additional_keys

async_jobs_running

cache

environment

fs

git_hash

pubsub

additional_properties

__annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'async_jobs_running': typing.Union[kittycad.types.Unset, bool], 'cache': typing.Union[kittycad.types.Unset, kittycad.models.cache_metadata.CacheMetadata], 'environment': typing.Union[kittycad.types.Unset, kittycad.models.environment.Environment], 'fs': typing.Union[kittycad.types.Unset, kittycad.models.file_system_metadata.FileSystemMetadata], 'git_hash': typing.Union[kittycad.types.Unset, str], 'pubsub': typing.Union[kittycad.types.Unset, kittycad.models.connection.Connection]}[source]
__attrs_attrs__ = (Attribute(name='async_jobs_running', default=False, 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, bool], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='async_jobs_running'), Attribute(name='cache', 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.cache_metadata.CacheMetadata], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='cache'), 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='fs', 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.file_system_metadata.FileSystemMetadata], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='fs'), 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='pubsub', 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.connection.Connection], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='pubsub'), 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.engine_metadata', '__annotations__': {'async_jobs_running': typing.Union[kittycad.types.Unset, bool], 'cache': typing.Union[kittycad.types.Unset, kittycad.models.cache_metadata.CacheMetadata], 'environment': typing.Union[kittycad.types.Unset, kittycad.models.environment.Environment], 'fs': typing.Union[kittycad.types.Unset, kittycad.models.file_system_metadata.FileSystemMetadata], 'git_hash': typing.Union[kittycad.types.Unset, str], 'pubsub': typing.Union[kittycad.types.Unset, kittycad.models.connection.Connection], '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 EngineMetadata.to_dict>, 'from_dict': <classmethod(<function EngineMetadata.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function EngineMetadata.__getitem__>, '__setitem__': <function EngineMetadata.__setitem__>, '__delitem__': <function EngineMetadata.__delitem__>, '__contains__': <function EngineMetadata.__contains__>, '__dict__': <attribute '__dict__' of 'EngineMetadata' objects>, '__weakref__': <attribute '__weakref__' of 'EngineMetadata' objects>, '__attrs_attrs__': (Attribute(name='async_jobs_running', default=False, 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, bool], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='async_jobs_running'), Attribute(name='cache', 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.cache_metadata.CacheMetadata], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='cache'), 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='fs', 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.file_system_metadata.FileSystemMetadata], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='fs'), 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='pubsub', 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.connection.Connection], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='pubsub'), 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 EngineMetadata.__repr__>, '__eq__': <function EngineMetadata.__eq__>, '__ne__': <function EngineMetadata.__ne__>, '__lt__': <function EngineMetadata.__lt__>, '__le__': <function EngineMetadata.__le__>, '__gt__': <function EngineMetadata.__gt__>, '__ge__': <function EngineMetadata.__ge__>, '__hash__': None, '__init__': <function EngineMetadata.__init__>, '__match_args__': ('async_jobs_running', 'cache', 'environment', 'fs', 'git_hash', 'pubsub')})[source]
__eq__(other)[source]

Method generated by attrs for class EngineMetadata.

__ge__(other)[source]

Method generated by attrs for class EngineMetadata.

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

Any

__gt__(other)[source]

Method generated by attrs for class EngineMetadata.

__hash__ = None[source]
__init__(async_jobs_running=False, cache=<kittycad.types.Unset object>, environment=<kittycad.types.Unset object>, fs=<kittycad.types.Unset object>, git_hash=<kittycad.types.Unset object>, pubsub=<kittycad.types.Unset object>)[source]

Method generated by attrs for class EngineMetadata.

__le__(other)[source]

Method generated by attrs for class EngineMetadata.

__lt__(other)[source]

Method generated by attrs for class EngineMetadata.

__match_args__ = ('async_jobs_running', 'cache', 'environment', 'fs', 'git_hash', 'pubsub')[source]
__module__ = 'kittycad.models.engine_metadata'[source]
__ne__(other)[source]

Method generated by attrs for class EngineMetadata.

__repr__()[source]

Method generated by attrs for class EngineMetadata.

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

None

property additional_keys: List[str][source]
additional_properties: Dict[str, Any][source]
async_jobs_running: Union[Unset, bool][source]
cache: Union[Unset, CacheMetadata][source]
environment: Union[Unset, Environment][source]
classmethod from_dict(src_dict)[source][source]
Return type:

TypeVar(CE, bound= EngineMetadata)

fs: Union[Unset, FileSystemMetadata][source]
git_hash: Union[Unset, str][source]
pubsub: Union[Unset, Connection][source]
to_dict()[source][source]
Return type:

Dict[str, Any]