kittycad.models.code_output

Classes

CodeOutput([output_files, stderr, stdout])

Output of the code being executed.

class kittycad.models.code_output.CodeOutput(output_files=<kittycad.types.Unset object>, stderr=<kittycad.types.Unset object>, stdout=<kittycad.types.Unset object>)[source][source]

Output of the code being executed.

Method generated by attrs for class CodeOutput.

class OutputFile(contents=<kittycad.types.Unset object>, name=<kittycad.types.Unset object>)[source]

Output file contents.

Method generated by attrs for class OutputFile.

__annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'contents': typing.Union[kittycad.types.Unset, str], 'name': typing.Union[kittycad.types.Unset, str]}[source]
__attrs_attrs__ = (Attribute(name='contents', 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='contents'), Attribute(name='name', 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='name'), 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]
Return type:

bool

__delitem__(key)[source]
Return type:

None

__dict__ = mappingproxy({'__module__': 'kittycad.models.output_file', '__annotations__': {'contents': typing.Union[kittycad.types.Unset, str], 'name': typing.Union[kittycad.types.Unset, str], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Output file contents.', 'to_dict': <function OutputFile.to_dict>, 'from_dict': <classmethod(<function OutputFile.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function OutputFile.__getitem__>, '__setitem__': <function OutputFile.__setitem__>, '__delitem__': <function OutputFile.__delitem__>, '__contains__': <function OutputFile.__contains__>, '__dict__': <attribute '__dict__' of 'OutputFile' objects>, '__weakref__': <attribute '__weakref__' of 'OutputFile' objects>, '__attrs_attrs__': (Attribute(name='contents', 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='contents'), Attribute(name='name', 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='name'), 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 OutputFile.__repr__>, '__eq__': <function OutputFile.__eq__>, '__ne__': <function OutputFile.__ne__>, '__lt__': <function OutputFile.__lt__>, '__le__': <function OutputFile.__le__>, '__gt__': <function OutputFile.__gt__>, '__ge__': <function OutputFile.__ge__>, '__hash__': None, '__init__': <function OutputFile.__init__>, '__match_args__': ('contents', 'name')})[source]
__eq__(other)[source]

Method generated by attrs for class OutputFile.

__ge__(other)[source]

Method generated by attrs for class OutputFile.

__getitem__(key)[source]
Return type:

Any

__gt__(other)[source]

Method generated by attrs for class OutputFile.

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

Method generated by attrs for class OutputFile.

__le__(other)[source]

Method generated by attrs for class OutputFile.

__lt__(other)[source]

Method generated by attrs for class OutputFile.

__match_args__ = ('contents', 'name')[source]
__module__ = 'kittycad.models.output_file'[source]
__ne__(other)[source]

Method generated by attrs for class OutputFile.

__repr__()[source]

Method generated by attrs for class OutputFile.

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

None

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

TypeVar(OW, bound= OutputFile)

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

Dict[str, Any]

__annotations__ = {'additional_properties': typing.Dict[str, typing.Any], 'output_files': typing.Union[kittycad.types.Unset, typing.List[kittycad.models.output_file.OutputFile]], 'stderr': typing.Union[kittycad.types.Unset, str], 'stdout': typing.Union[kittycad.types.Unset, str]}[source]
__attrs_attrs__ = (Attribute(name='output_files', 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[kittycad.models.output_file.OutputFile]], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='output_files'), Attribute(name='stderr', 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='stderr'), Attribute(name='stdout', 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='stdout'), 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.code_output', '__annotations__': {'output_files': typing.Union[kittycad.types.Unset, typing.List[kittycad.models.output_file.OutputFile]], 'stderr': typing.Union[kittycad.types.Unset, str], 'stdout': typing.Union[kittycad.types.Unset, str], 'additional_properties': typing.Dict[str, typing.Any]}, '__doc__': 'Output of the code being executed.', 'OutputFile': <class 'kittycad.models.output_file.OutputFile'>, 'to_dict': <function CodeOutput.to_dict>, 'from_dict': <classmethod(<function CodeOutput.from_dict>)>, 'additional_keys': <property object>, '__getitem__': <function CodeOutput.__getitem__>, '__setitem__': <function CodeOutput.__setitem__>, '__delitem__': <function CodeOutput.__delitem__>, '__contains__': <function CodeOutput.__contains__>, '__dict__': <attribute '__dict__' of 'CodeOutput' objects>, '__weakref__': <attribute '__weakref__' of 'CodeOutput' objects>, '__attrs_attrs__': (Attribute(name='output_files', 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[kittycad.models.output_file.OutputFile]], converter=None, kw_only=False, inherited=False, on_setattr=None, alias='output_files'), Attribute(name='stderr', 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='stderr'), Attribute(name='stdout', 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='stdout'), 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 CodeOutput.__repr__>, '__eq__': <function CodeOutput.__eq__>, '__ne__': <function CodeOutput.__ne__>, '__lt__': <function CodeOutput.__lt__>, '__le__': <function CodeOutput.__le__>, '__gt__': <function CodeOutput.__gt__>, '__ge__': <function CodeOutput.__ge__>, '__hash__': None, '__init__': <function CodeOutput.__init__>, '__match_args__': ('output_files', 'stderr', 'stdout')})[source]
__eq__(other)[source]

Method generated by attrs for class CodeOutput.

__ge__(other)[source]

Method generated by attrs for class CodeOutput.

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

Any

__gt__(other)[source]

Method generated by attrs for class CodeOutput.

__hash__ = None[source]
__init__(output_files=<kittycad.types.Unset object>, stderr=<kittycad.types.Unset object>, stdout=<kittycad.types.Unset object>)[source]

Method generated by attrs for class CodeOutput.

__le__(other)[source]

Method generated by attrs for class CodeOutput.

__lt__(other)[source]

Method generated by attrs for class CodeOutput.

__match_args__ = ('output_files', 'stderr', 'stdout')[source]
__module__ = 'kittycad.models.code_output'[source]
__ne__(other)[source]

Method generated by attrs for class CodeOutput.

__repr__()[source]

Method generated by attrs for class CodeOutput.

__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(LY, bound= CodeOutput)

output_files: Union[Unset, List[OutputFile]][source]
stderr: Union[Unset, str][source]
stdout: Union[Unset, str][source]
to_dict()[source][source]
Return type:

Dict[str, Any]