Compare commits
73 Commits
Author | SHA1 | Date | |
---|---|---|---|
9bf4dead4f | |||
c727428359 | |||
055c3bdd8f | |||
55e0cbe58d | |||
851f986d32 | |||
61ddb1a6d8 | |||
63b0703ae8 | |||
c694322a52 | |||
0e24bc5311 | |||
42e76b4b83 | |||
774b8f079c | |||
ba8eeca234 | |||
c512fd7f8a | |||
4639d82900 | |||
39cfd257a8 | |||
82f3361603 | |||
e97a042552 | |||
65cb520fce | |||
d9067d3292 | |||
2ae59c5ca3 | |||
50313ec810 | |||
f262b62cb7 | |||
3237e02c10 | |||
374d5bd238 | |||
4933e0106c | |||
f825678307 | |||
be8df00e51 | |||
58192a56ff | |||
6103b11ab8 | |||
441db38ca2 | |||
61c79305dc | |||
73cb3ff917 | |||
7c4321306a | |||
49b8d2747a | |||
9dc390a64d | |||
929e7fe993 | |||
ada7da5eca | |||
829c9cb0fe | |||
4631ca24cb | |||
b9e1d6fda6 | |||
2efdf57ec3 | |||
7f7460d366 | |||
553db98e51 | |||
699532553b | |||
4acbbc84ce | |||
02dff4020c | |||
7375479cf2 | |||
24d6d17894 | |||
1e67d9d4bd | |||
53132b1fd8 | |||
a0146d9ea5 | |||
032f5b17d5 | |||
15ef98b356 | |||
dcd5015cae | |||
219a7f14c2 | |||
7f00e3aa25 | |||
85a22b9a2a | |||
a653ebbb66 | |||
d3dfc556e0 | |||
e96d50f4f0 | |||
16e30e893f | |||
d81e82cf9c | |||
7e536090ad | |||
429c341f84 | |||
5bcbf4251b | |||
f28df119ed | |||
9e96dffb3c | |||
be68a24e48 | |||
3e0545f4aa | |||
0f66979c90 | |||
16d7e95ce6 | |||
cb257a57d6 | |||
0ae59a5548 |
2
.github/workflows/build-test.yml
vendored
2
.github/workflows/build-test.yml
vendored
@ -24,7 +24,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v3
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
|
2
.github/workflows/generate-docs.yml
vendored
2
.github/workflows/generate-docs.yml
vendored
@ -17,7 +17,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v3
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: 3.x
|
||||
|
||||
|
2
.github/workflows/generate.yml
vendored
2
.github/workflows/generate.yml
vendored
@ -7,6 +7,7 @@ on:
|
||||
- 'Makefile'
|
||||
- .github/workflows/generate.yml
|
||||
- 'spec.json'
|
||||
- 'generate/generate.py'
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
jobs:
|
||||
@ -34,5 +35,6 @@ jobs:
|
||||
git config --local user.name "github-actions[bot]"
|
||||
git remote set-url origin https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git
|
||||
git fetch origin
|
||||
git add .
|
||||
git commit -am "I have generated the latest API!" || true
|
||||
git push origin ${{github.event.pull_request.head.ref }} || true
|
||||
|
2
.github/workflows/make-release.yml
vendored
2
.github/workflows/make-release.yml
vendored
@ -9,7 +9,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-python@v3
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.x'
|
||||
# Installation instructions are from: https://python-poetry.org/docs/
|
||||
|
3
.github/workflows/update-spec-for-docs.yml
vendored
3
.github/workflows/update-spec-for-docs.yml
vendored
@ -16,9 +16,6 @@ jobs:
|
||||
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: |
|
||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -23,3 +23,4 @@ dmypy.json
|
||||
/.coverage
|
||||
|
||||
poetry.lock
|
||||
testing
|
||||
|
4
Makefile
4
Makefile
@ -13,14 +13,16 @@ VERSION := $(shell toml get $(CURDIR)/pyproject.toml tool.poetry.version | jq -r
|
||||
generate: docker-image ## Generate the api client.
|
||||
docker run --rm -i $(DOCKER_FLAGS) \
|
||||
--name python-generator \
|
||||
--disable-content-trust \
|
||||
-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'
|
||||
$(DOCKER_IMAGE_NAME) ./generate/run.sh
|
||||
|
||||
.PHONY: shell
|
||||
shell: docker-image ## Pop into a shell in the docker image.
|
||||
docker run --rm -i $(DOCKER_FLAGS) \
|
||||
--name python-generator-shell \
|
||||
--disable-content-trust \
|
||||
-v $(CURDIR):/usr/src \
|
||||
--workdir /usr/src \
|
||||
$(DOCKER_IMAGE_NAME) /bin/bash
|
||||
|
1942
assets/testing.obj
Normal file
1942
assets/testing.obj
Normal file
File diff suppressed because it is too large
Load Diff
@ -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: 16fc25f14c46711649e711cda6e9c6fb
|
||||
config: 801b3277a7f682f8d93df02ea3878661
|
||||
tags: 645f666f9bcd5a90fca523b33c5a78b7
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
docs/html/.doctrees/modules/kittycad.api.hidden.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.api.hidden.doctree
Normal file
Binary file not shown.
BIN
docs/html/.doctrees/modules/kittycad.api.hidden.login.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.api.hidden.login.doctree
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
docs/html/.doctrees/modules/kittycad.api.payments.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.api.payments.doctree
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
docs/html/.doctrees/modules/kittycad.api.sessions.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.api.sessions.doctree
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
docs/html/.doctrees/modules/kittycad.api.users.get_user.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.api.users.get_user.doctree
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
docs/html/.doctrees/modules/kittycad.models.address.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.models.address.doctree
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
docs/html/.doctrees/modules/kittycad.models.api_token.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.models.api_token.doctree
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
docs/html/.doctrees/modules/kittycad.models.billing_info.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.models.billing_info.doctree
Normal file
Binary file not shown.
Binary file not shown.
BIN
docs/html/.doctrees/modules/kittycad.models.card_details.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.models.card_details.doctree
Normal file
Binary file not shown.
BIN
docs/html/.doctrees/modules/kittycad.models.cluster.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.models.cluster.doctree
Normal file
Binary file not shown.
Binary file not shown.
BIN
docs/html/.doctrees/modules/kittycad.models.code_output.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.models.code_output.doctree
Normal file
Binary file not shown.
BIN
docs/html/.doctrees/modules/kittycad.models.connection.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.models.connection.doctree
Normal file
Binary file not shown.
Binary file not shown.
BIN
docs/html/.doctrees/modules/kittycad.models.currency.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.models.currency.doctree
Normal file
Binary file not shown.
BIN
docs/html/.doctrees/modules/kittycad.models.customer.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.models.customer.doctree
Normal file
Binary file not shown.
Binary file not shown.
BIN
docs/html/.doctrees/modules/kittycad.models.duration.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.models.duration.doctree
Normal file
Binary file not shown.
Binary file not shown.
BIN
docs/html/.doctrees/modules/kittycad.models.environment.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.models.environment.doctree
Normal file
Binary file not shown.
BIN
docs/html/.doctrees/modules/kittycad.models.error.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.models.error.doctree
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
docs/html/.doctrees/modules/kittycad.models.file_density.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.models.file_density.doctree
Normal file
Binary file not shown.
BIN
docs/html/.doctrees/modules/kittycad.models.file_mass.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.models.file_mass.doctree
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
docs/html/.doctrees/modules/kittycad.models.file_volume.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.models.file_volume.doctree
Normal file
Binary file not shown.
BIN
docs/html/.doctrees/modules/kittycad.models.gateway.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.models.gateway.doctree
Normal file
Binary file not shown.
Binary file not shown.
BIN
docs/html/.doctrees/modules/kittycad.models.invoice.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.models.invoice.doctree
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
docs/html/.doctrees/modules/kittycad.models.jetstream.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.models.jetstream.doctree
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
docs/html/.doctrees/modules/kittycad.models.leaf_node.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.models.leaf_node.doctree
Normal file
Binary file not shown.
BIN
docs/html/.doctrees/modules/kittycad.models.login_params.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.models.login_params.doctree
Normal file
Binary file not shown.
Binary file not shown.
BIN
docs/html/.doctrees/modules/kittycad.models.metadata.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.models.metadata.doctree
Normal file
Binary file not shown.
BIN
docs/html/.doctrees/modules/kittycad.models.method.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.models.method.doctree
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user