Compare commits

...

28 Commits

Author SHA1 Message Date
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
426 changed files with 25323 additions and 2180 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:

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/

1
.gitignore vendored
View File

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

View File

@ -16,12 +16,13 @@ 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 \
--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: 6c52a0bf2897daf6a5cc8b8016e517a2
tags: 645f666f9bcd5a90fca523b33c5a78b7

Binary file not shown.

View File

@ -0,0 +1,32 @@
kittycad.api.file.create\_file\_execution
=========================================
.. automodule:: kittycad.api.file.create_file_execution
.. rubric:: Functions
.. autosummary::
asyncio
asyncio_detailed
sync
sync_detailed

View File

@ -0,0 +1,32 @@
kittycad.api.file.create\_file\_mass
====================================
.. automodule:: kittycad.api.file.create_file_mass
.. rubric:: Functions
.. autosummary::
asyncio
asyncio_detailed
sync
sync_detailed

View File

@ -0,0 +1,32 @@
kittycad.api.file.create\_file\_volume
======================================
.. automodule:: kittycad.api.file.create_file_volume
.. rubric:: Functions
.. autosummary::
asyncio
asyncio_detailed
sync
sync_detailed

View File

@ -0,0 +1,30 @@
kittycad.api.file.get\_file\_conversion\_with\_base64\_helper
=============================================================
.. automodule:: kittycad.api.file.get_file_conversion_with_base64_helper
.. rubric:: Functions
.. autosummary::
asyncio
sync

View File

@ -29,9 +29,10 @@ kittycad.api.file
kittycad.api.file.create_file_conversion
kittycad.api.file.create_file_conversion_with_base64_helper
kittycad.api.file.create_file_execution
kittycad.api.file.create_file_mass
kittycad.api.file.create_file_volume
kittycad.api.file.get_file_conversion
kittycad.api.file.get_file_conversion_for_user
kittycad.api.file.get_file_conversion_with_base64_helper
kittycad.api.file.list_file_conversions
kittycad.api.file.list_file_conversions_for_user

View File

@ -0,0 +1,32 @@
kittycad.api.hidden.login
=========================
.. automodule:: kittycad.api.hidden.login
.. rubric:: Functions
.. autosummary::
asyncio
asyncio_detailed
sync
sync_detailed

View File

@ -0,0 +1,31 @@
kittycad.api.hidden
===================
.. automodule:: kittycad.api.hidden
.. rubric:: Modules
.. autosummary::
:toctree:
:recursive:
kittycad.api.hidden.login

View File

@ -0,0 +1,32 @@
kittycad.api.meta.get\_metadata
===============================
.. automodule:: kittycad.api.meta.get_metadata
.. rubric:: Functions
.. autosummary::
asyncio
asyncio_detailed
sync
sync_detailed

View File

@ -0,0 +1,32 @@
kittycad.api.payments.create\_payment\_information\_for\_user
=============================================================
.. automodule:: kittycad.api.payments.create_payment_information_for_user
.. rubric:: Functions
.. autosummary::
asyncio
asyncio_detailed
sync
sync_detailed

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