kittycad.models.runtime.Runtime

class kittycad.models.runtime.Runtime(path=<kittycad.types.Unset object>, runtime_args=<kittycad.types.Unset object>)[source][source]

Bases: object

Runtime describes an [OCI compliant](https://github.com/opencontainers/runtime-spec) runtime. The runtime is invoked by the daemon via the containerd daemon. OCI runtimes act as an interface to the Linux kernel namespaces, cgroups, and SELinux.

Method generated by attrs for class Runtime.

__init__(path=<kittycad.types.Unset object>, runtime_args=<kittycad.types.Unset object>)[source]

Method generated by attrs for class Runtime.

Methods

__init__([path, runtime_args])

Method generated by attrs for class Runtime.

from_dict(src_dict)

rtype:

TypeVar(J, bound= Runtime)

to_dict()

rtype:

Dict[str, Any]

Attributes

additional_keys

path

runtime_args

additional_properties

__annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'path': typing.Union[kittycad.types.Unset, str], 'runtime_args': typing.Union[kittycad.types.Unset, typing.List[str]]}[source]
__attrs_attrs__ = (Attribute(name='path', 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='path'), Attribute(name='runtime_args', 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, typing.List[str]], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='runtime_args'), 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.runtime', '__annotations__': {'path': typing.Union[kittycad.types.Unset, str], 'runtime_args': typing.Union[kittycad.types.Unset, typing.List[str]], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Runtime describes an [OCI compliant](https://github.com/opencontainers/runtime-spec) runtime.  The runtime is invoked by the daemon via the `containerd` daemon. OCI runtimes act as an interface to the Linux kernel namespaces, cgroups, and SELinux.', 'to_dict': <function Runtime.to_dict>, 'from_dict': <classmethod(<function Runtime.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function Runtime.__getitem__>, '__setitem__': <function Runtime.__setitem__>, '__delitem__': <function Runtime.__delitem__>, '__contains__': <function Runtime.__contains__>, '__dict__': <attribute '__dict__' of 'Runtime' objects>, '__weakref__': <attribute '__weakref__' of 'Runtime' objects>, '__attrs_attrs__': (Attribute(name='path', 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='path'), Attribute(name='runtime_args', 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, typing.List[str]], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='runtime_args'), 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 Runtime.__repr__>, '__eq__': <function Runtime.__eq__>, '__ne__': <function Runtime.__ne__>, '__lt__': <function Runtime.__lt__>, '__le__': <function Runtime.__le__>, '__gt__': <function Runtime.__gt__>, '__ge__': <function Runtime.__ge__>, '__hash__': None, '__init__': <function Runtime.__init__>, '__match_args__': ('path', 'runtime_args')})[source]
__eq__(other)[source]

Method generated by attrs for class Runtime.

__ge__(other)[source]

Method generated by attrs for class Runtime.

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

Any

__gt__(other)[source]

Method generated by attrs for class Runtime.

__hash__ = None[source]
__init__(path=<kittycad.types.Unset object>, runtime_args=<kittycad.types.Unset object>)[source]

Method generated by attrs for class Runtime.

__le__(other)[source]

Method generated by attrs for class Runtime.

__lt__(other)[source]

Method generated by attrs for class Runtime.

__match_args__ = ('path', 'runtime_args')[source]
__module__ = 'kittycad.models.runtime'[source]
__ne__(other)[source]

Method generated by attrs for class Runtime.

__repr__()[source]

Method generated by attrs for class Runtime.

__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(J, bound= Runtime)

path: Union[Unset, str][source]
runtime_args: Union[Unset, List[str]][source]
to_dict()[source][source]
Return type:

Dict[str, Any]