Compare commits

...

58 Commits

Author SHA1 Message Date
0c6b538605 update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-07-07 18:00:09 -07:00
905e2094de Merge pull request #34 from KittyCAD/update-spec-0.1.5
Update rust lang spec docs for 0.1.5
2022-07-07 17:59:54 -07:00
4623f854af I have generated the latest API! 2022-07-08 00:56:43 +00:00
3802dd36fc YOYO NEW RUST SPEC DOCS 0.1.5! 2022-07-08 00:53:23 +00:00
a046a9a82b push to correct repo
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-07-07 17:49:43 -07:00
c795346cd0 I HAVE GENERATED YOUR NEW DOCS! 2022-07-05 23:25:53 +00:00
3bd4326f2c Merge pull request #33 from KittyCAD/update-spec-0.1.4
Update rust lang spec docs for 0.1.4
2022-07-05 16:23:39 -07:00
b08726834a I have generated the latest API! 2022-07-05 23:19:40 +00:00
26954ba9f8 YOYO NEW RUST SPEC DOCS 0.1.4! 2022-07-05 23:16:47 +00:00
20496480f7 I HAVE GENERATED YOUR NEW DOCS! 2022-07-05 22:47:27 +00:00
2c8e9f90d7 Merge pull request #32 from KittyCAD/update-spec-0.1.3
Update rust lang spec docs for 0.1.3
2022-07-05 15:44:38 -07:00
197aa2fc55 fix tests
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-07-05 15:38:49 -07:00
4beba625ed bump the version
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-07-05 15:34:46 -07:00
67a03bdd03 update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-07-05 15:33:51 -07:00
30db5097ff YOYO NEW RUST SPEC DOCS 0.1.3! 2022-07-05 19:27:35 +00:00
b80b69b023 I HAVE GENERATED YOUR NEW DOCS! 2022-06-16 19:06:05 +00:00
9bf4dead4f bump
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-06-16 12:02:24 -07:00
c727428359 I HAVE GENERATED YOUR NEW DOCS! 2022-06-16 19:01:53 +00:00
055c3bdd8f Merge pull request #29 from KittyCAD/update-spec-0.1.0
Update rust lang spec docs for 0.1.0
2022-06-16 11:58:41 -07:00
55e0cbe58d I have generated the latest API! 2022-06-16 18:58:33 +00:00
851f986d32 YOYO NEW RUST SPEC DOCS 0.1.0! 2022-06-16 18:55:09 +00:00
61ddb1a6d8 I HAVE GENERATED YOUR NEW DOCS! 2022-06-16 01:33:05 +00:00
63b0703ae8 fix for regular spec
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-06-15 18:29:56 -07:00
c694322a52 bump version
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-06-15 18:23:57 -07:00
0e24bc5311 I HAVE GENERATED YOUR NEW DOCS! 2022-06-16 01:22:56 +00:00
42e76b4b83 Add failing test to demo to_dict issue 2022-06-15 18:18:42 -07:00
774b8f079c better generatioon
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-06-15 18:18:19 -07:00
ba8eeca234 Merge pull request #28 from KittyCAD/update-spec-v0.1.6
Update go lang spec docs for v0.1.6
2022-06-15 17:27:09 -07:00
c512fd7f8a YOYO NEW GO SPEC DOCS v0.1.6! 2022-06-16 00:22:46 +00:00
4639d82900 I HAVE GENERATED YOUR NEW DOCS! 2022-06-14 16:23:14 +00:00
39cfd257a8 bump version
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-06-14 09:20:20 -07:00
82f3361603 update spec
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-06-14 09:19:55 -07:00
e97a042552 I HAVE GENERATED YOUR NEW DOCS! 2022-06-14 16:13:10 +00:00
65cb520fce Merge pull request #23 from KittyCAD/update-spec-v0.1.5
Update go lang spec docs for v0.1.5
2022-06-14 09:10:33 -07:00
d9067d3292 Merge pull request #25 from KittyCAD/kurt/24-update-codegen-to-handle-query-params
update generate.py to handle query params
2022-06-14 09:10:18 -07:00
2ae59c5ca3 use obj for mass and volume tests 2022-06-14 21:57:15 +10:00
50313ec810 clean up tests 2022-06-14 21:52:17 +10:00
f262b62cb7 I have generated the latest API! 2022-06-14 11:38:28 +00:00
3237e02c10 add tests 2022-06-14 21:35:20 +10:00
374d5bd238 I have generated the latest API! 2022-06-14 10:57:00 +00:00
4933e0106c trigger generate on change to generate.py 2022-06-14 20:53:43 +10:00
f825678307 update generate.py to handle query params 2022-06-14 20:50:22 +10:00
be8df00e51 YOYO NEW GO SPEC DOCS v0.1.5! 2022-06-14 03:17:03 +00:00
58192a56ff I HAVE GENERATED YOUR NEW DOCS! 2022-06-12 01:37:38 +00:00
6103b11ab8 Merge pull request #22 from KittyCAD/update-spec-v0.1.4
Update go lang spec docs for v0.1.4
2022-06-11 18:33:58 -07:00
441db38ca2 fix lint
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-06-11 18:30:39 -07:00
61c79305dc bump version
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-06-11 18:09:32 -07:00
73cb3ff917 fixups
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-06-11 18:08:23 -07:00
7c4321306a fixups
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-06-11 17:59:55 -07:00
49b8d2747a first start of fix
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-06-11 17:42:00 -07:00
9dc390a64d initial fixing
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-06-11 17:26:20 -07:00
929e7fe993 I HAVE GENERATED YOUR NEW DOCS! 2022-06-11 22:56:27 +00:00
ada7da5eca Merge pull request #20 from KittyCAD/dependabot/pip/httpx-gte-0.15.4-and-lt-0.24.0
Update httpx requirement from >=0.15.4,<0.23.0 to >=0.15.4,<0.24.0
2022-06-11 15:53:37 -07:00
829c9cb0fe Merge pull request #21 from KittyCAD/dependabot/github_actions/actions/setup-python-4
Bump actions/setup-python from 3 to 4
2022-06-11 15:53:29 -07:00
4631ca24cb YOYO NEW GO SPEC DOCS v0.1.4! 2022-06-11 22:53:08 +00:00
b9e1d6fda6 Bump actions/setup-python from 3 to 4
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3 to 4.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v3...v4)

---
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-06-09 11:23:38 +00:00
2efdf57ec3 Update httpx requirement from >=0.15.4,<0.23.0 to >=0.15.4,<0.24.0
Updates the requirements on [httpx](https://github.com/encode/httpx) to permit the latest version.
- [Release notes](https://github.com/encode/httpx/releases)
- [Changelog](https://github.com/encode/httpx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/encode/httpx/compare/0.15.4...0.23.0)

---
updated-dependencies:
- dependency-name: httpx
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-24 11:31:04 +00:00
7f7460d366 I HAVE GENERATED YOUR NEW DOCS! 2022-04-27 20:34:57 +00:00
607 changed files with 45855 additions and 4586 deletions

View File

@ -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 }}

View File

@ -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

View File

@ -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

View File

@ -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/

View File

@ -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
View File

@ -23,3 +23,4 @@ dmypy.json
/.coverage
poetry.lock
testing

View File

@ -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

File diff suppressed because it is too large Load Diff

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: 16fe53d77233f18bb10a8972d1624ff3
config: e52be7b4f011a635dc06a208f68f244c
tags: 645f666f9bcd5a90fca523b33c5a78b7

Binary file not shown.

Binary file not shown.

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