Compare commits

...

45 Commits

Author SHA1 Message Date
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
553db98e51 fix
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-27 13:32:14 -07:00
699532553b I HAVE GENERATED YOUR NEW DOCS! 2022-04-27 20:26:55 +00:00
4acbbc84ce update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-27 13:22:13 -07:00
02dff4020c cleanup
Signed-off-by: Jess Frazelle <github@jessfraz.com>

add more

Signed-off-by: Jess Frazelle <github@jessfraz.com>

update

Signed-off-by: Jess Frazelle <github@jessfraz.com>

u[dates

Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-27 13:21:52 -07:00
7375479cf2 Merge pull request #19 from KittyCAD/update-spec-v0.1.3
Update go lang spec docs for v0.1.3
2022-04-27 12:15:16 -07:00
24d6d17894 Merge pull request #16 from KittyCAD/dependabot/github_actions/actions/setup-go-3
Bump actions/setup-go from 2 to 3
2022-04-27 12:13:30 -07:00
1e67d9d4bd Merge pull request #15 from KittyCAD/dependabot/pip/pytest-asyncio-tw-0.18.3
Update pytest-asyncio requirement from ^0.16.0 to ^0.18.3
2022-04-27 12:13:21 -07:00
53132b1fd8 Merge pull request #14 from KittyCAD/dependabot/pip/sphinx-automodapi-tw-0.14
Update sphinx-automodapi requirement from ^0.13 to ^0.14
2022-04-27 12:13:07 -07:00
a0146d9ea5 Merge pull request #13 from KittyCAD/dependabot/pip/httpx-gte-0.15.4-and-lt-0.23.0
Update httpx requirement from >=0.15.4,<0.21.0 to >=0.15.4,<0.23.0
2022-04-27 12:12:59 -07:00
032f5b17d5 YOYO NEW GO SPEC DOCS v0.1.3! 2022-04-27 19:11:12 +00:00
15ef98b356 Bump actions/setup-go from 2 to 3
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2 to 3.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v2...v3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 11:33:58 +00:00
dcd5015cae Update pytest-asyncio requirement from ^0.16.0 to ^0.18.3
Updates the requirements on [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases)
- [Changelog](https://github.com/pytest-dev/pytest-asyncio/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.16.0...v0.18.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-07 11:42:25 +00:00
219a7f14c2 Update sphinx-automodapi requirement from ^0.13 to ^0.14
Updates the requirements on [sphinx-automodapi](https://github.com/astropy/sphinx-automodapi) to permit the latest version.
- [Release notes](https://github.com/astropy/sphinx-automodapi/releases)
- [Changelog](https://github.com/astropy/sphinx-automodapi/blob/main/CHANGES.rst)
- [Commits](https://github.com/astropy/sphinx-automodapi/compare/v0.13...v0.14.1)

---
updated-dependencies:
- dependency-name: sphinx-automodapi
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-07 11:41:38 +00:00
7f00e3aa25 Update httpx requirement from >=0.15.4,<0.21.0 to >=0.15.4,<0.23.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.22.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-07 11:41:16 +00:00
85a22b9a2a I HAVE GENERATED YOUR NEW DOCS! 2022-04-07 06:24:57 +00:00
a653ebbb66 fix
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-06 23:21:41 -07:00
d3dfc556e0 update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-06 23:20:20 -07:00
e96d50f4f0 update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-06 23:18:56 -07:00
16e30e893f I HAVE GENERATED YOUR NEW DOCS! 2022-04-07 06:17:56 +00:00
d81e82cf9c items
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-06 23:15:12 -07:00
7e536090ad fix
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-06 23:15:12 -07:00
429c341f84 update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-06 23:15:11 -07:00
5bcbf4251b I HAVE GENERATED YOUR NEW DOCS! 2022-04-07 06:06:16 +00:00
f28df119ed fix
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-06 23:06:10 -07:00
9e96dffb3c fix
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-06 23:02:55 -07:00
be68a24e48 I HAVE GENERATED YOUR NEW DOCS! 2022-04-07 05:44:17 +00:00
3e0545f4aa bump version
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-06 22:41:45 -07:00
0f66979c90 fix
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-06 22:41:11 -07:00
16d7e95ce6 Merge pull request #12 from KittyCAD/update-spec-v0.1.0
Update go lang spec docs for v0.1.0
2022-04-06 22:34:16 -07:00
cb257a57d6 YOYO NEW GO SPEC DOCS v0.1.0! 2022-04-07 05:15:57 +00:00
0ae59a5548 I HAVE GENERATED YOUR NEW DOCS! 2022-04-07 04:17:30 +00:00
364 changed files with 21515 additions and 1515 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

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

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

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

View File

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

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

Binary file not shown.

View File

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

View File

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

View File

@ -0,0 +1,32 @@
kittycad.api.file.get\_file\_conversion
=======================================
.. automodule:: kittycad.api.file.get_file_conversion
.. rubric:: Functions
.. autosummary::
asyncio
asyncio_detailed
sync
sync_detailed

View File

@ -0,0 +1,32 @@
kittycad.api.file.get\_file\_conversion\_for\_user
==================================================
.. automodule:: kittycad.api.file.get_file_conversion_for_user
.. rubric:: Functions
.. autosummary::
asyncio
asyncio_detailed
sync
sync_detailed

View File

@ -0,0 +1,32 @@
kittycad.api.file.list\_file\_conversions
=========================================
.. automodule:: kittycad.api.file.list_file_conversions
.. rubric:: Functions
.. autosummary::
asyncio
asyncio_detailed
sync
sync_detailed

View File

@ -0,0 +1,32 @@
kittycad.api.file.list\_file\_conversions\_for\_user
====================================================
.. automodule:: kittycad.api.file.list_file_conversions_for_user
.. rubric:: Functions
.. autosummary::
asyncio
asyncio_detailed
sync
sync_detailed

View File

@ -28,12 +28,10 @@ kittycad.api.file
:recursive:
kittycad.api.file.create_file_conversion
kittycad.api.file.file_conversion_status
kittycad.api.file.file_conversion_status_with_base64_helper
kittycad.api.file.create_file_conversion_with_base64_helper
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
kittycad.api.file.post_file_conversion
kittycad.api.file.post_file_conversion_with_base64_helper

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

@ -27,8 +27,7 @@ kittycad.api.meta
:toctree:
:recursive:
kittycad.api.meta.auth_session
kittycad.api.meta.get_metadata
kittycad.api.meta.get_schema
kittycad.api.meta.instance_metadata
kittycad.api.meta.ping

View File

@ -29,9 +29,8 @@
kittycad.api.api-calls
kittycad.api.api-tokens
kittycad.api.beta
kittycad.api.file
kittycad.api.internal
kittycad.api.meta
kittycad.api.sessions
kittycad.api.users

View File

@ -0,0 +1,32 @@
kittycad.api.sessions.get\_session\_for\_user
=============================================
.. automodule:: kittycad.api.sessions.get_session_for_user
.. rubric:: Functions
.. autosummary::
asyncio
asyncio_detailed
sync
sync_detailed

View File

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

View File

@ -0,0 +1,32 @@
kittycad.api.users.get\_user
============================
.. automodule:: kittycad.api.users.get_user
.. rubric:: Functions
.. autosummary::
asyncio
asyncio_detailed
sync
sync_detailed

View File

@ -0,0 +1,32 @@
kittycad.api.users.get\_user\_extended
======================================
.. automodule:: kittycad.api.users.get_user_extended
.. rubric:: Functions
.. autosummary::
asyncio
asyncio_detailed
sync
sync_detailed

View File

@ -0,0 +1,32 @@
kittycad.api.users.get\_user\_self
==================================
.. automodule:: kittycad.api.users.get_user_self
.. rubric:: Functions
.. autosummary::
asyncio
asyncio_detailed
sync
sync_detailed

View File

@ -0,0 +1,32 @@
kittycad.api.users.get\_user\_self\_extended
============================================
.. automodule:: kittycad.api.users.get_user_self_extended
.. rubric:: Functions
.. autosummary::
asyncio
asyncio_detailed
sync
sync_detailed

View File

@ -0,0 +1,32 @@
kittycad.api.users.list\_users
==============================
.. automodule:: kittycad.api.users.list_users
.. rubric:: Functions
.. autosummary::
asyncio
asyncio_detailed
sync
sync_detailed

View File

@ -0,0 +1,32 @@
kittycad.api.users.list\_users\_extended
========================================
.. automodule:: kittycad.api.users.list_users_extended
.. rubric:: Functions
.. autosummary::
asyncio
asyncio_detailed
sync
sync_detailed

View File

@ -0,0 +1,29 @@
kittycad.models.api\_call\_query\_group
=======================================
.. automodule:: kittycad.models.api_call_query_group
.. rubric:: Classes
.. autosummary::
ApiCallQueryGroup

View File

@ -0,0 +1,29 @@
kittycad.models.api\_call\_query\_group\_by
===========================================
.. automodule:: kittycad.models.api_call_query_group_by
.. rubric:: Classes
.. autosummary::
ApiCallQueryGroupBy

View File

@ -0,0 +1,29 @@
kittycad.models.api\_call\_with\_price
======================================
.. automodule:: kittycad.models.api_call_with_price
.. rubric:: Classes
.. autosummary::
ApiCallWithPrice

View File

@ -0,0 +1,29 @@
kittycad.models.api\_call\_with\_price\_results\_page
=====================================================
.. automodule:: kittycad.models.api_call_with_price_results_page
.. rubric:: Classes
.. autosummary::
ApiCallWithPriceResultsPage

View File

@ -0,0 +1,29 @@
kittycad.models.api\_token
==========================
.. automodule:: kittycad.models.api_token
.. rubric:: Classes
.. autosummary::
ApiToken

View File

@ -0,0 +1,29 @@
kittycad.models.api\_token\_results\_page
=========================================
.. automodule:: kittycad.models.api_token_results_page
.. rubric:: Classes
.. autosummary::
ApiTokenResultsPage

View File

@ -0,0 +1,29 @@
kittycad.models.cluster
=======================
.. automodule:: kittycad.models.cluster
.. rubric:: Classes
.. autosummary::
Cluster

View File

@ -0,0 +1,29 @@
kittycad.models.created\_at\_sort\_mode
=======================================
.. automodule:: kittycad.models.created_at_sort_mode
.. rubric:: Classes
.. autosummary::
CreatedAtSortMode

View File

@ -0,0 +1,29 @@
kittycad.models.duration
========================
.. automodule:: kittycad.models.duration
.. rubric:: Classes
.. autosummary::
Duration

View File

@ -0,0 +1,29 @@
kittycad.models.engine\_metadata
================================
.. automodule:: kittycad.models.engine_metadata
.. rubric:: Classes
.. autosummary::
EngineMetadata

View File

@ -0,0 +1,29 @@
kittycad.models.error
=====================
.. automodule:: kittycad.models.error
.. rubric:: Classes
.. autosummary::
Error

View File

@ -0,0 +1,29 @@
kittycad.models.extended\_user
==============================
.. automodule:: kittycad.models.extended_user
.. rubric:: Classes
.. autosummary::
ExtendedUser

View File

@ -0,0 +1,29 @@
kittycad.models.extended\_user\_results\_page
=============================================
.. automodule:: kittycad.models.extended_user_results_page
.. rubric:: Classes
.. autosummary::
ExtendedUserResultsPage

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