Compare commits
58 Commits
Author | SHA1 | Date | |
---|---|---|---|
0c6b538605 | |||
905e2094de | |||
4623f854af | |||
3802dd36fc | |||
a046a9a82b | |||
c795346cd0 | |||
3bd4326f2c | |||
b08726834a | |||
26954ba9f8 | |||
20496480f7 | |||
2c8e9f90d7 | |||
197aa2fc55 | |||
4beba625ed | |||
67a03bdd03 | |||
30db5097ff | |||
b80b69b023 | |||
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 |
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/
|
||||
|
2
.github/workflows/update-spec-for-docs.yml
vendored
2
.github/workflows/update-spec-for-docs.yml
vendored
@ -34,7 +34,7 @@ jobs:
|
||||
# Checkout the docs repo since we will want to update the files there.
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
repository: 'kittycad/docs'
|
||||
repository: 'kittycad/website'
|
||||
path: 'docs'
|
||||
token: ${{secrets.PAT_GITHUB}}
|
||||
- name: move spec to docs
|
||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -23,3 +23,4 @@ dmypy.json
|
||||
/.coverage
|
||||
|
||||
poetry.lock
|
||||
testing
|
||||
|
4
Makefile
4
Makefile
@ -16,12 +16,14 @@ generate: docker-image ## Generate the api client.
|
||||
--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 \
|
||||
-e KITTYCAD_API_TOKEN \
|
||||
--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: 16fe53d77233f18bb10a8972d1624ff3
|
||||
config: e52be7b4f011a635dc06a208f68f244c
|
||||
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.
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.
Binary file not shown.
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.
BIN
docs/html/.doctrees/modules/kittycad.api.hidden.logout.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.api.hidden.logout.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.api.oauth2.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.api.oauth2.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.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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
docs/html/.doctrees/modules/kittycad.api.unit.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.api.unit.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.
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.
BIN
docs/html/.doctrees/modules/kittycad.models.base64_data.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.models.base64_data.doctree
Normal file
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.commit.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.models.commit.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.
Binary file not shown.
Binary file not shown.
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.empty.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.models.empty.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.
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.index_info.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.models.index_info.doctree
Normal file
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.ip_addr.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.models.ip_addr.doctree
Normal file
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.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user