kittycad.models.jetstream_config

Classes

JetstreamConfig([domain, max_memory, ...])

Jetstream configuration.

class kittycad.models.jetstream_config.JetstreamConfig(domain=<kittycad.types.Unset object>, max_memory=<kittycad.types.Unset object>, max_storage=<kittycad.types.Unset object>, store_dir=<kittycad.types.Unset object>)[source][source]

Jetstream configuration.

Method generated by attrs for class JetstreamConfig.

__annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'domain': typing.Union[kittycad.types.Unset, str], 'max_memory': typing.Union[kittycad.types.Unset, int], 'max_storage': typing.Union[kittycad.types.Unset, int], 'store_dir': typing.Union[kittycad.types.Unset, str]}[source]
__attrs_attrs__ = (Attribute(name='domain', 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='domain'), Attribute(name='max_memory', 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, int], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='max_memory'), Attribute(name='max_storage', 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, int], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='max_storage'), Attribute(name='store_dir', 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='store_dir'), 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.jetstream_config', '__annotations__': {'domain': typing.Union[kittycad.types.Unset, str], 'max_memory': typing.Union[kittycad.types.Unset, int], 'max_storage': typing.Union[kittycad.types.Unset, int], 'store_dir': typing.Union[kittycad.types.Unset, str], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Jetstream configuration.', 'to_dict': <function JetstreamConfig.to_dict>, 'from_dict': <classmethod(<function JetstreamConfig.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function JetstreamConfig.__getitem__>, '__setitem__': <function JetstreamConfig.__setitem__>, '__delitem__': <function JetstreamConfig.__delitem__>, '__contains__': <function JetstreamConfig.__contains__>, '__dict__': <attribute '__dict__' of 'JetstreamConfig' objects>, '__weakref__': <attribute '__weakref__' of 'JetstreamConfig' objects>, '__attrs_attrs__': (Attribute(name='domain', 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='domain'), Attribute(name='max_memory', 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, int], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='max_memory'), Attribute(name='max_storage', 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, int], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='max_storage'), Attribute(name='store_dir', 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='store_dir'), 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 JetstreamConfig.__repr__>, '__eq__': <function JetstreamConfig.__eq__>, '__ne__': <function JetstreamConfig.__ne__>, '__lt__': <function JetstreamConfig.__lt__>, '__le__': <function JetstreamConfig.__le__>, '__gt__': <function JetstreamConfig.__gt__>, '__ge__': <function JetstreamConfig.__ge__>, '__hash__': None, '__init__': <function JetstreamConfig.__init__>, '__match_args__': ('domain', 'max_memory', 'max_storage', 'store_dir')})[source]
__eq__(other)[source]

Method generated by attrs for class JetstreamConfig.

__ge__(other)[source]

Method generated by attrs for class JetstreamConfig.

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

Any

__gt__(other)[source]

Method generated by attrs for class JetstreamConfig.

__hash__ = None[source]
__init__(domain=<kittycad.types.Unset object>, max_memory=<kittycad.types.Unset object>, max_storage=<kittycad.types.Unset object>, store_dir=<kittycad.types.Unset object>)[source]

Method generated by attrs for class JetstreamConfig.

__le__(other)[source]

Method generated by attrs for class JetstreamConfig.

__lt__(other)[source]

Method generated by attrs for class JetstreamConfig.

__match_args__ = ('domain', 'max_memory', 'max_storage', 'store_dir')[source]
__module__ = 'kittycad.models.jetstream_config'[source]
__ne__(other)[source]

Method generated by attrs for class JetstreamConfig.

__repr__()[source]

Method generated by attrs for class JetstreamConfig.

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

None

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

TypeVar(K, bound= JetstreamConfig)

max_memory: Union[Unset, int][source]
max_storage: Union[Unset, int][source]
store_dir: Union[Unset, str][source]
to_dict()[source][source]
Return type:

Dict[str, Any]