Compare commits

...

46 Commits

Author SHA1 Message Date
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
d9077a00ad bump the version;
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-06 21:15:39 -07:00
a8d537e29c update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-06 21:14:32 -07:00
15d5bf50c1 update files
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-06 21:14:12 -07:00
17b517dd5a update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-06 20:50:09 -07:00
1408f075ee more fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-06 20:50:09 -07:00
ed6b2c8e77 I HAVE GENERATED YOUR NEW DOCS! 2022-04-07 03:38:23 +00:00
69c4f8ce70 format
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-06 20:37:08 -07:00
216b454c14 add more
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-06 20:35:34 -07:00
0ed9aaf127 update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-06 20:35:21 -07:00
c1bc2a8f51 Merge pull request #11 from KittyCAD/update-spec-v0.0.9
Update go lang spec docs for v0.0.9
2022-04-06 19:13:29 -07:00
b7359511a4 YOYO NEW GO SPEC DOCS v0.0.9! 2022-04-07 02:12:48 +00:00
26545d537f Merge pull request #10 from KittyCAD/dependabot/github_actions/codecov/codecov-action-3
Bump codecov/codecov-action from 2 to 3
2022-04-06 18:34:57 -07:00
0ab0bd44a2 Bump codecov/codecov-action from 2 to 3
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2 to 3.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-06 11:24:42 +00:00
415f1d9619 I HAVE GENERATED YOUR NEW DOCS! 2022-04-04 19:42:53 +00:00
31f5188454 fix example
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-04 12:40:15 -07:00
293 changed files with 15169 additions and 2462 deletions

View File

@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
python-version: [3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v3
@ -47,7 +47,7 @@ jobs:
# stop the build if there are Python syntax errors or undefined names
poetry run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
poetry run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
#poetry run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Run pytest
shell: bash
@ -57,7 +57,7 @@ jobs:
KITTYCAD_API_TOKEN: ${{secrets.KITTYCAD_API_TOKEN}}
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true

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

View File

@ -13,6 +13,7 @@ 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'

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

Binary file not shown.

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

@ -27,8 +27,11 @@ kittycad.api.file
:toctree:
:recursive:
kittycad.api.file.file_conversion_status
kittycad.api.file.file_conversion_status_with_base64_helper
kittycad.api.file.post_file_conversion
kittycad.api.file.post_file_conversion_with_base64_helper
kittycad.api.file.create_file_conversion
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

View File

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

View File

@ -27,8 +27,10 @@
:toctree:
:recursive:
kittycad.api.beta
kittycad.api.api-calls
kittycad.api.api-tokens
kittycad.api.file
kittycad.api.internal
kittycad.api.meta
kittycad.api.sessions
kittycad.api.users

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,36 @@
kittycad.api.users
==================
.. automodule:: kittycad.api.users
.. rubric:: Modules
.. autosummary::
:toctree:
:recursive:
kittycad.api.users.get_user
kittycad.api.users.get_user_extended
kittycad.api.users.get_user_self
kittycad.api.users.get_user_self_extended
kittycad.api.users.list_users
kittycad.api.users.list_users_extended

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.created\_at\_sort\_mode
=======================================
.. automodule:: kittycad.models.created_at_sort_mode
.. rubric:: Classes
.. autosummary::
CreatedAtSortMode

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

View File

@ -0,0 +1,29 @@
kittycad.models.file\_conversion\_output\_format
================================================
.. automodule:: kittycad.models.file_conversion_output_format
.. rubric:: Classes
.. autosummary::
FileConversionOutputFormat

View File

@ -0,0 +1,29 @@
kittycad.models.file\_conversion\_results\_page
===============================================
.. automodule:: kittycad.models.file_conversion_results_page
.. rubric:: Classes
.. autosummary::
FileConversionResultsPage

View File

@ -0,0 +1,29 @@
kittycad.models.file\_conversion\_source\_format
================================================
.. automodule:: kittycad.models.file_conversion_source_format
.. rubric:: Classes
.. autosummary::
FileConversionSourceFormat

View File

@ -0,0 +1,29 @@
kittycad.models.file\_conversion\_with\_output
==============================================
.. automodule:: kittycad.models.file_conversion_with_output
.. rubric:: Classes
.. autosummary::
FileConversionWithOutput

View File

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

View File

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

View File

@ -27,15 +27,26 @@
:toctree:
:recursive:
kittycad.models.auth_session
kittycad.models.error_message
kittycad.models.api_call_query_group
kittycad.models.api_call_query_group_by
kittycad.models.api_call_with_price
kittycad.models.api_call_with_price_results_page
kittycad.models.api_token
kittycad.models.api_token_results_page
kittycad.models.created_at_sort_mode
kittycad.models.error
kittycad.models.extended_user
kittycad.models.extended_user_results_page
kittycad.models.file_conversion
kittycad.models.file_conversion_output_format
kittycad.models.file_conversion_results_page
kittycad.models.file_conversion_source_format
kittycad.models.file_conversion_status
kittycad.models.gpu_device
kittycad.models.instance
kittycad.models.pong_enum
kittycad.models.pong_message
kittycad.models.server_env
kittycad.models.valid_output_file_format
kittycad.models.valid_source_file_format
kittycad.models.file_conversion_with_output
kittycad.models.method
kittycad.models.pong
kittycad.models.status_code
kittycad.models.user
kittycad.models.user_results_page
kittycad.models.uuid

View File

@ -0,0 +1,29 @@
kittycad.models.status\_code
============================
.. automodule:: kittycad.models.status_code
.. rubric:: Classes
.. autosummary::
StatusCode

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