Skip to content

Commit

Permalink
I have generated the latest API!
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 15, 2024
1 parent 8607678 commit bfca478
Show file tree
Hide file tree
Showing 6 changed files with 231 additions and 216 deletions.
422 changes: 211 additions & 211 deletions kittycad.py.patch.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion kittycad/api/modeling/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
""" Contains methods for accessing the modeling API paths: Modeling API for updating your 3D files using the KittyCAD engine. """ # noqa: E501
""" Contains methods for accessing the modeling API paths: Modeling API for updating your 3D files using the Zoo engine. """ # noqa: E501
2 changes: 1 addition & 1 deletion kittycad/api/users/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
""" Contains methods for accessing the users API paths: A user is someone who uses the KittyCAD API. Here, we can create, delete, and list users. We can also get information about a user. Operations will only be authorized if the user is requesting information about themselves. """ # noqa: E501
""" Contains methods for accessing the users API paths: A user is someone who uses the Zoo API. Here, we can create, delete, and list users. We can also get information about a user. Operations will only be authorized if the user is requesting information about themselves. """ # noqa: E501
7 changes: 6 additions & 1 deletion kittycad/models/code_language.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@


class CodeLanguage(str, Enum):
"""The language code is written in.""" # noqa: E501
"""The language code is written in.
<details><summary>JSON schema</summary>
```json { "description": "The language code is written in.", "oneOf": [ { "description": "The `go` programming language.", "type": "string", "enum": [ "go" ] }, { "description": "The `python` programming language.", "type": "string", "enum": [ "python" ] }, { "description": "The `node` programming language.", "type": "string", "enum": [ "node" ] } ] } ``` </details>
""" # noqa: E501

"""# The `go` programming language. """ # noqa: E501
GO = "go"
Expand Down
7 changes: 6 additions & 1 deletion kittycad/models/code_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@


class CodeOutput(BaseModel):
"""Output of the code being executed."""
"""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

Expand Down
7 changes: 6 additions & 1 deletion kittycad/models/output_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@


class OutputFile(BaseModel):
"""Output file contents."""
"""Output file contents.
<details><summary>JSON schema</summary>
```json { "description": "Output file contents.", "type": "object", "properties": { "contents": { "description": "The contents of the file. This is base64 encoded so we can ensure it is UTF-8 for JSON.", "type": "string" }, "name": { "description": "The name of the file.", "default": "", "type": "string" } } } ``` </details>
"""

contents: Optional[str] = None

Expand Down

0 comments on commit bfca478

Please sign in to comment.