Compare commits

...

69 Commits

Author SHA1 Message Date
d9077a00ad bump the version;
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-06 21:15:39 -07:00
a8d537e29c update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-06 21:14:32 -07:00
15d5bf50c1 update files
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-06 21:14:12 -07:00
17b517dd5a update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-06 20:50:09 -07:00
1408f075ee more fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-06 20:50:09 -07:00
ed6b2c8e77 I HAVE GENERATED YOUR NEW DOCS! 2022-04-07 03:38:23 +00:00
69c4f8ce70 format
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-06 20:37:08 -07:00
216b454c14 add more
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-06 20:35:34 -07:00
0ed9aaf127 update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-06 20:35:21 -07:00
c1bc2a8f51 Merge pull request #11 from KittyCAD/update-spec-v0.0.9
Update go lang spec docs for v0.0.9
2022-04-06 19:13:29 -07:00
b7359511a4 YOYO NEW GO SPEC DOCS v0.0.9! 2022-04-07 02:12:48 +00:00
26545d537f Merge pull request #10 from KittyCAD/dependabot/github_actions/codecov/codecov-action-3
Bump codecov/codecov-action from 2 to 3
2022-04-06 18:34:57 -07:00
0ab0bd44a2 Bump codecov/codecov-action from 2 to 3
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2 to 3.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-06 11:24:42 +00:00
415f1d9619 I HAVE GENERATED YOUR NEW DOCS! 2022-04-04 19:42:53 +00:00
31f5188454 fix example
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-04 12:40:15 -07:00
363e9aea12 bump version
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-04 10:16:16 -07:00
ca263dd395 Merge pull request #9 from KittyCAD/update-spec-v0.0.8
Update go lang spec docs for v0.0.8
2022-04-04 10:14:34 -07:00
1e2e9c0871 fix
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-04 10:10:19 -07:00
6db080ebc8 YOYO NEW GO SPEC DOCS v0.0.8! 2022-04-04 09:43:09 -07:00
5247831f32 fix
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-04 09:42:54 -07:00
5e204bf872 I HAVE GENERATED YOUR NEW DOCS! 2022-04-04 16:32:51 +00:00
9cbcebf665 Merge pull request #8 from KittyCAD/dependabot/github_actions/actions/checkout-3
Bump actions/checkout from 2 to 3
2022-04-04 09:30:03 -07:00
fdc005a2f7 I HAVE GENERATED YOUR NEW DOCS! 2022-03-07 01:53:16 +00:00
004daabdf9 update client and fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-03-06 17:50:08 -08:00
a14fa0b099 Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 01:35:13 +00:00
020b19a3c2 I HAVE GENERATED YOUR NEW DOCS! 2022-03-07 01:22:58 +00:00
d2ea7ddf66 Merge pull request #3 from KittyCAD/dependabot/pip/pytest-tw-7.0.1
Update pytest requirement from ^6.2.5 to ^7.0.1
2022-03-06 17:22:04 -08:00
6210725498 Merge pull request #7 from KittyCAD/dependabot/github_actions/actions/setup-python-3
Bump actions/setup-python from 2 to 3
2022-03-06 17:20:30 -08:00
3531fd4197 Update pytest requirement from ^6.2.5 to ^7.0.1
Updates the requirements on [pytest](https://github.com/pytest-dev/pytest) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/6.2.5...7.0.1)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 01:19:04 +00:00
1c94c0500c I HAVE GENERATED YOUR NEW DOCS! 2022-03-07 01:17:39 +00:00
eae6825815 Bump actions/setup-python from 2 to 3
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 3.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 01:17:04 +00:00
a11d9e9351 Merge pull request #4 from KittyCAD/refactor
Refactor
2022-03-06 17:15:06 -08:00
5d985a3e13 fix
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-28 12:53:39 -08:00
6b6de6ddf2 fix
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-28 12:30:27 -08:00
aa723677a3 fix
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 22:56:08 -08:00
3477374e44 update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 22:55:08 -08:00
f28d56915a update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 22:45:11 -08:00
cf3ab0f291 update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 22:41:34 -08:00
e53597609c ad docs
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 22:38:36 -08:00
3d8c49afe3 cleabup
;

Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 22:36:12 -08:00
669b7aded0 update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 22:30:43 -08:00
0ceebbee9c fix tests
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 22:25:36 -08:00
ab01c82bb7 make tests pass
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 22:24:39 -08:00
65e95eae3d better json
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 22:19:21 -08:00
5fcd6d048e update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 22:10:46 -08:00
89a450f697 write the data back out.
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 21:59:28 -08:00
653d2b21ee pep8
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 21:48:39 -08:00
cbf5f4df6d update functions;
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 21:48:13 -08:00
2d90bb61be better tabs
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 21:36:28 -08:00
9c18ba2350 update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 21:34:21 -08:00
0b9c32e6bf better indent
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 21:23:35 -08:00
b09684bd9e better indent
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 21:16:28 -08:00
45ac31914d update paths
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 21:13:56 -08:00
2a9ae9dc8d fix ups and autopep8
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 20:15:59 -08:00
5b77fbdbd0 add autopep8
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 20:14:39 -08:00
e0f88cf27a pep8
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 20:12:59 -08:00
29b0d3b5d0 update build
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 20:10:11 -08:00
6c05eabb2c update the __init__.py
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 20:06:23 -08:00
be59e657b9 raise exception
;

Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 20:02:13 -08:00
bf83d1f1ba raise errrors
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 20:00:17 -08:00
a99251b3b7 add more types
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 19:58:57 -08:00
32479cfe2a add types
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 19:58:46 -08:00
2a3cec9aac start of refactor
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 18:39:04 -08:00
e7aaaab78d biump
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-01-28 15:06:33 -08:00
f835e905a9 I HAVE GENERATED YOUR NEW DOCS! 2022-01-28 22:35:46 +00:00
637df816fd update supported formats
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-01-28 14:34:06 -08:00
cef71917e8 Create LICENSE 2021-12-20 10:54:55 -08:00
c865f88379 Update dependabot.yml 2021-12-17 02:18:28 -08:00
7dbafade7a I HAVE GENERATED YOUR NEW DOCS! 2021-12-15 23:48:37 +00:00
454 changed files with 13454 additions and 14182 deletions

0
.dockerignore Normal file
View File

View File

@ -9,3 +9,7 @@ updates:
directory: "/" # Location of package manifests
schedule:
interval: "daily"
- package-ecosystem: "github-actions" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "daily"

View File

@ -5,22 +5,26 @@ on:
paths:
- '**.py'
- .github/workflows/build-test.yml
- 'pyproject.toml'
- 'spec.json'
pull_request:
paths:
- '**.py'
- .github/workflows/build-test.yml
- 'pyproject.toml'
- 'spec.json'
jobs:
build-test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
python-version: [3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
@ -43,7 +47,7 @@ jobs:
# stop the build if there are Python syntax errors or undefined names
poetry run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
poetry run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
#poetry run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Run pytest
shell: bash
@ -53,7 +57,7 @@ jobs:
KITTYCAD_API_TOKEN: ${{secrets.KITTYCAD_API_TOKEN}}
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true

View File

@ -9,21 +9,15 @@ on:
- '**.rst'
- '**.py'
- .github/workflows/generate-docs.yml
pull_request:
paths:
- docs/conf.py
- '**.rst'
- '**.py'
- .github/workflows/generate-docs.yml
jobs:
generate-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: 3.x

View File

@ -6,6 +6,7 @@ on:
paths:
- 'Makefile'
- .github/workflows/generate.yml
- 'spec.json'
workflow_dispatch:
inputs:
jobs:
@ -14,7 +15,7 @@ jobs:
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Run generate

View File

@ -8,8 +8,8 @@ jobs:
name: make-release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: '3.x'
# Installation instructions are from: https://python-poetry.org/docs/

View File

@ -0,0 +1,69 @@
on:
push:
tags:
- v*
pull_request:
paths:
- .github/workflows/update-spec-for-docs.yml
workflow_dispatch:
name: update spec for docs
concurrency:
group: docs-${{ github.ref }}
cancel-in-progress: true
jobs:
update-spec:
name: update-spec
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v2
with:
go-version: '1.x'
- name: make generate
shell: bash
run: |
make generate
# Ensure no files changed.
- name: Ensure no files changed
shell: bash
run: |
if [[ `git status --porcelain` ]]; then
echo "Files changed, exiting";
exit 1;
else
# No changes
echo "No files changed, proceeding";
fi
# Checkout the docs repo since we will want to update the files there.
- uses: actions/checkout@v3
with:
repository: 'kittycad/docs'
path: 'docs'
token: ${{secrets.PAT_GITHUB}}
- name: move spec to docs
shell: bash
run: |
rm docs/spec.json || true
cp spec.json docs/spec.json
- name: commit the changes in the docs repo
shell: bash
run: |
export VERSION=$(cat VERSION.txt);
cd docs
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add .
git commit -am "YOYO NEW SPEC DOCS ${VERSION}!" || exit 0
git fetch origin
git rebase origin/main || exit 0
export NEW_BRANCH="update-spec-${VERSION}"
git checkout -b "$NEW_BRANCH"
git push -f origin "$NEW_BRANCH"
gh pr create --title "Update lang spec docs for ${VERSION}" \
--body "Updating the generated docs for go lang" \
--head "$NEW_BRANCH" \
--base main || true
env:
GITHUB_TOKEN: ${{secrets.PAT_GITHUB}}

View File

@ -1,7 +1,13 @@
FROM python:latest
FROM python:3.9
RUN pip install \
openapi-python-client
poetry
WORKDIR /usr/src/
COPY . /usr/src/
RUN poetry update && poetry install
# Set the default command to bash.
CMD ["bash"]

21
LICENSE Normal file
View File

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2021 KittyCAD
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@ -10,14 +10,21 @@ endif
VERSION := $(shell toml get $(CURDIR)/pyproject.toml tool.poetry.version | jq -r .)
.PHONY: generate
generate: docker-image
generate: docker-image ## Generate the api client.
docker run --rm -i $(DOCKER_FLAGS) \
--name python-generator \
-v $(CURDIR):/usr/kittycad \
--workdir /usr \
$(DOCKER_IMAGE_NAME) openapi-python-client update \
--url https://api.kittycad.io \
--config /usr/kittycad/config.yml
-v $(CURDIR):/usr/src \
--workdir /usr/src \
$(DOCKER_IMAGE_NAME) sh -c 'poetry run python generate/generate.py && poetry run autopep8 --in-place --aggressive --aggressive kittycad/models/*.py && poetry run autopep8 --in-place --aggressive --aggressive kittycad/api/*.py && poetry run autopep8 --in-place --aggressive --aggressive kittycad/*.py && poetry run autopep8 --in-place --aggressive --aggressive generate/*.py'
.PHONY: shell
shell: docker-image ## Pop into a shell in the docker image.
docker run --rm -i $(DOCKER_FLAGS) \
--name python-generator-shell \
-v $(CURDIR):/usr/src \
--workdir /usr/src \
$(DOCKER_IMAGE_NAME) /bin/bash
.PHONY: docker-image
docker-image:

View File

@ -2,9 +2,6 @@
The Python API client for KittyCAD.
This is generated from
[openapi-generators/openapi-python-client](https://github.com/openapi-generators/openapi-python-client).
- [PyPI](https://pypi.org/project/kittycad/)
- [Python docs](https://python.api.docs.kittycad.io/)
- [KittyCAD API Docs](https://docs.kittycad.io/?lang=python)
@ -26,44 +23,3 @@ $ make generate
Please do not change the code directly since it is generated. PRs that change
the code directly will be automatically closed by a bot.
## Usage
First, create an authenticated client:
```python
from kittycad import AuthenticatedClient
client = AuthenticatedClient(token="your_token")
```
If you want to use the environment variable `KITTYCAD_API_TOKEN` to do
authentication and not pass one to the client, do the following:
```python
from kittycad import AuthenticatedClientFromEnv
client = AuthenticatedClientFromEnv()
```
Now call your endpoint and use your models:
```python
from kittycad.models import AuthSession
from kittycad.api.meta import meta_debug_session
from kittycad.types import Response
session: AuthSession = meta_debug_session.sync(client=client)
# or if you need more info (e.g. status_code)
response: Response[AuthSession] = meta_debug_session.sync_detailed(client=client)
```
Or do the same thing with an async version:
```python
from kittycad.models import AuthSession
from kittycad.api.meta import meta_debug_session
from kittycad.types import Response
session: AuthSession = await meta_debug_session.asyncio(client=client)
response: Response[AuthSession] = await meta_debug_session.asyncio_detailed(client=client)
```

View File

@ -1,2 +0,0 @@
project_name_override: kittycad
package_name_override: kittycad

View File

@ -1,16 +1,16 @@
AuthenticatedClient
===================
ClientFromEnv
=============
.. currentmodule:: kittycad
.. autoclass:: AuthenticatedClient
.. autoclass:: ClientFromEnv
:show-inheritance:
.. rubric:: Methods Summary
.. autosummary::
~AuthenticatedClient.get_headers
~ClientFromEnv.get_headers
.. rubric:: Methods Documentation

View File

@ -1,6 +0,0 @@
asyncio
=======
.. currentmodule:: kittycad.api.file.file_conversion_by_id
.. autofunction:: asyncio

View File

@ -1,6 +0,0 @@
asyncio_detailed
================
.. currentmodule:: kittycad.api.file.file_conversion_by_id
.. autofunction:: asyncio_detailed

View File

@ -1,6 +0,0 @@
sync
====
.. currentmodule:: kittycad.api.file.file_conversion_by_id
.. autofunction:: sync

View File

@ -1,6 +0,0 @@
sync_detailed
=============
.. currentmodule:: kittycad.api.file.file_conversion_by_id
.. autofunction:: sync_detailed

View File

@ -1,6 +0,0 @@
asyncio
=======
.. currentmodule:: kittycad.api.file.file_conversion_by_id_with_base64_helper
.. autofunction:: asyncio

View File

@ -1,6 +0,0 @@
sync
====
.. currentmodule:: kittycad.api.file.file_conversion_by_id_with_base64_helper
.. autofunction:: sync

View File

@ -1,6 +0,0 @@
asyncio
=======
.. currentmodule:: kittycad.api.file.file_convert
.. autofunction:: asyncio

View File

@ -1,6 +0,0 @@
asyncio_detailed
================
.. currentmodule:: kittycad.api.file.file_convert
.. autofunction:: asyncio_detailed

View File

@ -1,6 +0,0 @@
sync
====
.. currentmodule:: kittycad.api.file.file_convert
.. autofunction:: sync

View File

@ -1,6 +0,0 @@
sync_detailed
=============
.. currentmodule:: kittycad.api.file.file_convert
.. autofunction:: sync_detailed

View File

@ -1,6 +0,0 @@
asyncio
=======
.. currentmodule:: kittycad.api.file.file_convert_with_base64_helper
.. autofunction:: asyncio

View File

@ -1,6 +0,0 @@
sync
====
.. currentmodule:: kittycad.api.file.file_convert_with_base64_helper
.. autofunction:: sync

View File

@ -1,6 +0,0 @@
asyncio
=======
.. currentmodule:: kittycad.api.meta.meta_debug_instance
.. autofunction:: asyncio

View File

@ -1,6 +0,0 @@
asyncio_detailed
================
.. currentmodule:: kittycad.api.meta.meta_debug_instance
.. autofunction:: asyncio_detailed

View File

@ -1,6 +0,0 @@
sync
====
.. currentmodule:: kittycad.api.meta.meta_debug_instance
.. autofunction:: sync

View File

@ -1,6 +0,0 @@
sync_detailed
=============
.. currentmodule:: kittycad.api.meta.meta_debug_instance
.. autofunction:: sync_detailed

View File

@ -1,6 +0,0 @@
asyncio
=======
.. currentmodule:: kittycad.api.meta.meta_debug_session
.. autofunction:: asyncio

View File

@ -1,6 +0,0 @@
asyncio_detailed
================
.. currentmodule:: kittycad.api.meta.meta_debug_session
.. autofunction:: asyncio_detailed

View File

@ -1,6 +0,0 @@
sync
====
.. currentmodule:: kittycad.api.meta.meta_debug_session
.. autofunction:: sync

View File

@ -1,6 +0,0 @@
sync_detailed
=============
.. currentmodule:: kittycad.api.meta.meta_debug_session
.. autofunction:: sync_detailed

View File

@ -1,6 +0,0 @@
asyncio
=======
.. currentmodule:: kittycad.api.meta.ping
.. autofunction:: asyncio

View File

@ -1,6 +0,0 @@
asyncio_detailed
================
.. currentmodule:: kittycad.api.meta.ping
.. autofunction:: asyncio_detailed

View File

@ -1,6 +0,0 @@
sync
====
.. currentmodule:: kittycad.api.meta.ping
.. autofunction:: sync

View File

@ -1,6 +0,0 @@
sync_detailed
=============
.. currentmodule:: kittycad.api.meta.ping
.. autofunction:: sync_detailed

View File

@ -1,17 +0,0 @@
AuthenticatedClient
===================
.. currentmodule:: kittycad.client
.. autoclass:: AuthenticatedClient
:show-inheritance:
.. rubric:: Methods Summary
.. autosummary::
~AuthenticatedClient.get_headers
.. rubric:: Methods Documentation
.. automethod:: get_headers

View File

@ -1,17 +0,0 @@
AuthenticatedClientFromEnv
==========================
.. currentmodule:: kittycad.client
.. autoclass:: AuthenticatedClientFromEnv
:show-inheritance:
.. rubric:: Methods Summary
.. autosummary::
~AuthenticatedClientFromEnv.get_headers
.. rubric:: Methods Documentation
.. automethod:: get_headers

View File

@ -1,27 +0,0 @@
Client
======
.. currentmodule:: kittycad.client
.. autoclass:: Client
:show-inheritance:
.. rubric:: Methods Summary
.. autosummary::
~Client.get_cookies
~Client.get_headers
~Client.get_timeout
~Client.with_cookies
~Client.with_headers
~Client.with_timeout
.. rubric:: Methods Documentation
.. automethod:: get_cookies
.. automethod:: get_headers
.. automethod:: get_timeout
.. automethod:: with_cookies
.. automethod:: with_headers
.. automethod:: with_timeout

View File

@ -1,29 +0,0 @@
AuthSession
===========
.. currentmodule:: kittycad.models
.. autoclass:: AuthSession
:show-inheritance:
.. rubric:: Attributes Summary
.. autosummary::
~AuthSession.additional_keys
.. rubric:: Methods Summary
.. autosummary::
~AuthSession.from_dict
~AuthSession.to_dict
.. rubric:: Attributes Documentation
.. autoattribute:: additional_keys
.. rubric:: Methods Documentation
.. automethod:: from_dict
.. automethod:: to_dict

View File

@ -1,21 +0,0 @@
Environment
===========
.. currentmodule:: kittycad.models
.. autoclass:: Environment
:show-inheritance:
.. rubric:: Attributes Summary
.. autosummary::
~Environment.DEVELOPMENT
~Environment.PREVIEW
~Environment.PRODUCTION
.. rubric:: Attributes Documentation
.. autoattribute:: DEVELOPMENT
.. autoattribute:: PREVIEW
.. autoattribute:: PRODUCTION

View File

@ -1,29 +0,0 @@
ErrorMessage
============
.. currentmodule:: kittycad.models
.. autoclass:: ErrorMessage
:show-inheritance:
.. rubric:: Attributes Summary
.. autosummary::
~ErrorMessage.additional_keys
.. rubric:: Methods Summary
.. autosummary::
~ErrorMessage.from_dict
~ErrorMessage.to_dict
.. rubric:: Attributes Documentation
.. autoattribute:: additional_keys
.. rubric:: Methods Documentation
.. automethod:: from_dict
.. automethod:: to_dict

View File

@ -1,29 +0,0 @@
FileConversion
==============
.. currentmodule:: kittycad.models
.. autoclass:: FileConversion
:show-inheritance:
.. rubric:: Attributes Summary
.. autosummary::
~FileConversion.additional_keys
.. rubric:: Methods Summary
.. autosummary::
~FileConversion.from_dict
~FileConversion.to_dict
.. rubric:: Attributes Documentation
.. autoattribute:: additional_keys
.. rubric:: Methods Documentation
.. automethod:: from_dict
.. automethod:: to_dict

View File

@ -1,25 +0,0 @@
FileConversionStatus
====================
.. currentmodule:: kittycad.models
.. autoclass:: FileConversionStatus
:show-inheritance:
.. rubric:: Attributes Summary
.. autosummary::
~FileConversionStatus.COMPLETED
~FileConversionStatus.FAILED
~FileConversionStatus.IN_PROGRESS
~FileConversionStatus.QUEUED
~FileConversionStatus.UPLOADED
.. rubric:: Attributes Documentation
.. autoattribute:: COMPLETED
.. autoattribute:: FAILED
.. autoattribute:: IN_PROGRESS
.. autoattribute:: QUEUED
.. autoattribute:: UPLOADED

View File

@ -1,29 +0,0 @@
InstanceMetadata
================
.. currentmodule:: kittycad.models
.. autoclass:: InstanceMetadata
:show-inheritance:
.. rubric:: Attributes Summary
.. autosummary::
~InstanceMetadata.additional_keys
.. rubric:: Methods Summary
.. autosummary::
~InstanceMetadata.from_dict
~InstanceMetadata.to_dict
.. rubric:: Attributes Documentation
.. autoattribute:: additional_keys
.. rubric:: Methods Documentation
.. automethod:: from_dict
.. automethod:: to_dict

View File

@ -1,29 +0,0 @@
Message
=======
.. currentmodule:: kittycad.models
.. autoclass:: Message
:show-inheritance:
.. rubric:: Attributes Summary
.. autosummary::
~Message.additional_keys
.. rubric:: Methods Summary
.. autosummary::
~Message.from_dict
~Message.to_dict
.. rubric:: Attributes Documentation
.. autoattribute:: additional_keys
.. rubric:: Methods Documentation
.. automethod:: from_dict
.. automethod:: to_dict

View File

@ -1,25 +0,0 @@
ValidFileTypes
==============
.. currentmodule:: kittycad.models
.. autoclass:: ValidFileTypes
:show-inheritance:
.. rubric:: Attributes Summary
.. autosummary::
~ValidFileTypes.DWG
~ValidFileTypes.DXF
~ValidFileTypes.OBJ
~ValidFileTypes.STEP
~ValidFileTypes.STL
.. rubric:: Attributes Documentation
.. autoattribute:: DWG
.. autoattribute:: DXF
.. autoattribute:: OBJ
.. autoattribute:: STEP
.. autoattribute:: STL

View File

@ -1,29 +0,0 @@
AuthSession
===========
.. currentmodule:: kittycad.models.auth_session
.. autoclass:: AuthSession
:show-inheritance:
.. rubric:: Attributes Summary
.. autosummary::
~AuthSession.additional_keys
.. rubric:: Methods Summary
.. autosummary::
~AuthSession.from_dict
~AuthSession.to_dict
.. rubric:: Attributes Documentation
.. autoattribute:: additional_keys
.. rubric:: Methods Documentation
.. automethod:: from_dict
.. automethod:: to_dict

View File

@ -1,21 +0,0 @@
Environment
===========
.. currentmodule:: kittycad.models.environment
.. autoclass:: Environment
:show-inheritance:
.. rubric:: Attributes Summary
.. autosummary::
~Environment.DEVELOPMENT
~Environment.PREVIEW
~Environment.PRODUCTION
.. rubric:: Attributes Documentation
.. autoattribute:: DEVELOPMENT
.. autoattribute:: PREVIEW
.. autoattribute:: PRODUCTION

View File

@ -1,29 +0,0 @@
ErrorMessage
============
.. currentmodule:: kittycad.models.error_message
.. autoclass:: ErrorMessage
:show-inheritance:
.. rubric:: Attributes Summary
.. autosummary::
~ErrorMessage.additional_keys
.. rubric:: Methods Summary
.. autosummary::
~ErrorMessage.from_dict
~ErrorMessage.to_dict
.. rubric:: Attributes Documentation
.. autoattribute:: additional_keys
.. rubric:: Methods Documentation
.. automethod:: from_dict
.. automethod:: to_dict

View File

@ -1,29 +0,0 @@
FileConversion
==============
.. currentmodule:: kittycad.models.file_conversion
.. autoclass:: FileConversion
:show-inheritance:
.. rubric:: Attributes Summary
.. autosummary::
~FileConversion.additional_keys
.. rubric:: Methods Summary
.. autosummary::
~FileConversion.from_dict
~FileConversion.to_dict
.. rubric:: Attributes Documentation
.. autoattribute:: additional_keys
.. rubric:: Methods Documentation
.. automethod:: from_dict
.. automethod:: to_dict

View File

@ -1,25 +0,0 @@
FileConversionStatus
====================
.. currentmodule:: kittycad.models.file_conversion
.. autoclass:: FileConversionStatus
:show-inheritance:
.. rubric:: Attributes Summary
.. autosummary::
~FileConversionStatus.COMPLETED
~FileConversionStatus.FAILED
~FileConversionStatus.IN_PROGRESS
~FileConversionStatus.QUEUED
~FileConversionStatus.UPLOADED
.. rubric:: Attributes Documentation
.. autoattribute:: COMPLETED
.. autoattribute:: FAILED
.. autoattribute:: IN_PROGRESS
.. autoattribute:: QUEUED
.. autoattribute:: UPLOADED

View File

@ -1,25 +0,0 @@
FileConversionStatus
====================
.. currentmodule:: kittycad.models.file_conversion_status
.. autoclass:: FileConversionStatus
:show-inheritance:
.. rubric:: Attributes Summary
.. autosummary::
~FileConversionStatus.COMPLETED
~FileConversionStatus.FAILED
~FileConversionStatus.IN_PROGRESS
~FileConversionStatus.QUEUED
~FileConversionStatus.UPLOADED
.. rubric:: Attributes Documentation
.. autoattribute:: COMPLETED
.. autoattribute:: FAILED
.. autoattribute:: IN_PROGRESS
.. autoattribute:: QUEUED
.. autoattribute:: UPLOADED

View File

@ -1,29 +0,0 @@
InstanceMetadata
================
.. currentmodule:: kittycad.models.instance_metadata
.. autoclass:: InstanceMetadata
:show-inheritance:
.. rubric:: Attributes Summary
.. autosummary::
~InstanceMetadata.additional_keys
.. rubric:: Methods Summary
.. autosummary::
~InstanceMetadata.from_dict
~InstanceMetadata.to_dict
.. rubric:: Attributes Documentation
.. autoattribute:: additional_keys
.. rubric:: Methods Documentation
.. automethod:: from_dict
.. automethod:: to_dict

View File

@ -1,29 +0,0 @@
Message
=======
.. currentmodule:: kittycad.models.message
.. autoclass:: Message
:show-inheritance:
.. rubric:: Attributes Summary
.. autosummary::
~Message.additional_keys
.. rubric:: Methods Summary
.. autosummary::
~Message.from_dict
~Message.to_dict
.. rubric:: Attributes Documentation
.. autoattribute:: additional_keys
.. rubric:: Methods Documentation
.. automethod:: from_dict
.. automethod:: to_dict

View File

@ -1,25 +0,0 @@
ValidFileTypes
==============
.. currentmodule:: kittycad.models.valid_file_types
.. autoclass:: ValidFileTypes
:show-inheritance:
.. rubric:: Attributes Summary
.. autosummary::
~ValidFileTypes.DWG
~ValidFileTypes.DXF
~ValidFileTypes.OBJ
~ValidFileTypes.STEP
~ValidFileTypes.STL
.. rubric:: Attributes Documentation
.. autoattribute:: DWG
.. autoattribute:: DXF
.. autoattribute:: OBJ
.. autoattribute:: STEP
.. autoattribute:: STL

View File

@ -1,17 +0,0 @@
File
====
.. currentmodule:: kittycad.types
.. autoclass:: File
:show-inheritance:
.. rubric:: Methods Summary
.. autosummary::
~File.to_tuple
.. rubric:: Methods Documentation
.. automethod:: to_tuple

View File

@ -1,7 +0,0 @@
Response
========
.. currentmodule:: kittycad.types
.. autoclass:: Response
:show-inheritance:

View File

@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: e70151257d05c54cbec2f82169462e1b
config: 16fc25f14c46711649e711cda6e9c6fb
tags: 645f666f9bcd5a90fca523b33c5a78b7

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More