Files
kittycad.py/kittycad/models/code_output.py
zoo-github-actions-auth[bot] 8bebb40c9f Update api spec (#186)
* YOYO NEW API SPEC!

* I have generated the latest API!

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-01-16 15:04:35 -08:00

23 lines
892 B
Python

from typing import List, Optional
from pydantic import BaseModel, ConfigDict
from ..models.output_file import OutputFile
class CodeOutput(BaseModel):
"""Output of the code being executed.
<details><summary>JSON schema</summary>
```json { "description": "Output of the code being executed.", "type": "object", "properties": { "output_files": { "description": "The contents of the files requested if they were passed.", "type": "array", "items": { "$ref": "#/components/schemas/OutputFile" } }, "stderr": { "description": "The stderr of the code.", "default": "", "type": "string" }, "stdout": { "description": "The stdout of the code.", "default": "", "type": "string" } } } ``` </details>
"""
output_files: Optional[List[OutputFile]] = None
stderr: Optional[str] = None
stdout: Optional[str] = None
model_config = ConfigDict(protected_namespaces=())