kittycad.models.cache_metadata.CacheMetadata

class kittycad.models.cache_metadata.CacheMetadata(ok=False)[source][source]

Bases: object

Metadata about our cache.

This is mostly used for internal purposes and debugging.

Method generated by attrs for class CacheMetadata.

__init__(ok=False)[source]

Method generated by attrs for class CacheMetadata.

Methods

__init__([ok])

Method generated by attrs for class CacheMetadata.

from_dict(src_dict)

rtype:

TypeVar(AH, bound= CacheMetadata)

to_dict()

rtype:

Dict[str, Any]

Attributes

additional_keys

ok

additional_properties

__annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'ok': typing.Union[kittycad.types.Unset, bool]}[source]
__attrs_attrs__ = (Attribute(name='ok', 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='ok'), 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.cache_metadata', '__annotations__': {'ok': typing.Union[kittycad.types.Unset, bool], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Metadata about our cache.\n\n    This is mostly used for internal purposes and debugging.', 'to_dict': <function CacheMetadata.to_dict>, 'from_dict': <classmethod(<function CacheMetadata.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function CacheMetadata.__getitem__>, '__setitem__': <function CacheMetadata.__setitem__>, '__delitem__': <function CacheMetadata.__delitem__>, '__contains__': <function CacheMetadata.__contains__>, '__dict__': <attribute '__dict__' of 'CacheMetadata' objects>, '__weakref__': <attribute '__weakref__' of 'CacheMetadata' objects>, '__attrs_attrs__': (Attribute(name='ok', 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='ok'), 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 CacheMetadata.__repr__>, '__eq__': <function CacheMetadata.__eq__>, '__ne__': <function CacheMetadata.__ne__>, '__lt__': <function CacheMetadata.__lt__>, '__le__': <function CacheMetadata.__le__>, '__gt__': <function CacheMetadata.__gt__>, '__ge__': <function CacheMetadata.__ge__>, '__hash__': None, '__init__': <function CacheMetadata.__init__>, '__match_args__': ('ok',)})[source]
__eq__(other)[source]

Method generated by attrs for class CacheMetadata.

__ge__(other)[source]

Method generated by attrs for class CacheMetadata.

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

Any

__gt__(other)[source]

Method generated by attrs for class CacheMetadata.

__hash__ = None[source]
__init__(ok=False)[source]

Method generated by attrs for class CacheMetadata.

__le__(other)[source]

Method generated by attrs for class CacheMetadata.

__lt__(other)[source]

Method generated by attrs for class CacheMetadata.

__match_args__ = ('ok',)[source]
__module__ = 'kittycad.models.cache_metadata'[source]
__ne__(other)[source]

Method generated by attrs for class CacheMetadata.

__repr__()[source]

Method generated by attrs for class CacheMetadata.

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

None

property additional_keys: List[str][source]
additional_properties: Dict[str, Any][source]
classmethod from_dict(src_dict)[source][source]
Return type:

TypeVar(AH, bound= CacheMetadata)

ok: Union[Unset, bool][source]
to_dict()[source][source]
Return type:

Dict[str, Any]