Compare commits
15 Commits
Author | SHA1 | Date | |
---|---|---|---|
d9077a00ad | |||
a8d537e29c | |||
15d5bf50c1 | |||
17b517dd5a | |||
1408f075ee | |||
ed6b2c8e77 | |||
69c4f8ce70 | |||
216b454c14 | |||
0ed9aaf127 | |||
c1bc2a8f51 | |||
b7359511a4 | |||
26545d537f | |||
0ab0bd44a2 | |||
415f1d9619 | |||
31f5188454 |
6
.github/workflows/build-test.yml
vendored
6
.github/workflows/build-test.yml
vendored
@ -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
|
||||
|
@ -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: 16fc25f14c46711649e711cda6e9c6fb
|
||||
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.users.doctree
Normal file
BIN
docs/html/.doctrees/modules/kittycad.api.users.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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -27,8 +27,13 @@ kittycad.api.file
|
||||
:toctree:
|
||||
: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.get_file_conversion
|
||||
kittycad.api.file.get_file_conversion_for_user
|
||||
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
|
||||
|
||||
|
@ -28,6 +28,7 @@ kittycad.api.meta
|
||||
:recursive:
|
||||
|
||||
kittycad.api.meta.auth_session
|
||||
kittycad.api.meta.get_schema
|
||||
kittycad.api.meta.instance_metadata
|
||||
kittycad.api.meta.ping
|
||||
|
||||
|
@ -27,8 +27,11 @@
|
||||
:toctree:
|
||||
:recursive:
|
||||
|
||||
kittycad.api.api-calls
|
||||
kittycad.api.api-tokens
|
||||
kittycad.api.beta
|
||||
kittycad.api.file
|
||||
kittycad.api.internal
|
||||
kittycad.api.meta
|
||||
kittycad.api.users
|
||||
|
||||
|
36
docs/html/_sources/modules/kittycad.api.users.rst.txt
Normal file
36
docs/html/_sources/modules/kittycad.api.users.rst.txt
Normal 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
|
||||
|
@ -1,6 +1,6 @@
|
||||
var DOCUMENTATION_OPTIONS = {
|
||||
URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
|
||||
VERSION: 'v0.0.6',
|
||||
VERSION: 'v0.0.7',
|
||||
LANGUAGE: 'None',
|
||||
COLLAPSE_INDEX: false,
|
||||
BUILDER: 'html',
|
||||
|
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Client — kittycad v0.0.6 documentation</title>
|
||||
<title>Client — kittycad v0.0.7 documentation</title>
|
||||
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/graphviz.css" type="text/css" />
|
||||
@ -31,7 +31,7 @@
|
||||
<a href="../index.html" class="icon icon-home"> kittycad
|
||||
</a>
|
||||
<div class="version">
|
||||
v0.0.6
|
||||
v0.0.7
|
||||
</div>
|
||||
<div role="search">
|
||||
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
|
||||
@ -44,7 +44,6 @@
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../modules/kittycad.api.html">kittycad.api</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../modules/kittycad.client.html">kittycad.client</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../modules/kittycad.models.html">kittycad.models</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../modules/kittycad.types.html">kittycad.types</a></li>
|
||||
</ul>
|
||||
<ul class="current">
|
||||
|
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>ClientFromEnv — kittycad v0.0.6 documentation</title>
|
||||
<title>ClientFromEnv — kittycad v0.0.7 documentation</title>
|
||||
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/graphviz.css" type="text/css" />
|
||||
@ -30,7 +30,7 @@
|
||||
<a href="../index.html" class="icon icon-home"> kittycad
|
||||
</a>
|
||||
<div class="version">
|
||||
v0.0.6
|
||||
v0.0.7
|
||||
</div>
|
||||
<div role="search">
|
||||
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
|
||||
@ -43,7 +43,6 @@
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../modules/kittycad.api.html">kittycad.api</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../modules/kittycad.client.html">kittycad.client</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../modules/kittycad.models.html">kittycad.models</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../modules/kittycad.types.html">kittycad.types</a></li>
|
||||
</ul>
|
||||
<ul class="current">
|
||||
|
@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Index — kittycad v0.0.6 documentation</title>
|
||||
<title>Index — kittycad v0.0.7 documentation</title>
|
||||
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
|
||||
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
|
||||
<link rel="stylesheet" href="_static/graphviz.css" type="text/css" />
|
||||
@ -28,7 +28,7 @@
|
||||
<a href="index.html" class="icon icon-home"> kittycad
|
||||
</a>
|
||||
<div class="version">
|
||||
v0.0.6
|
||||
v0.0.7
|
||||
</div>
|
||||
<div role="search">
|
||||
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
|
||||
@ -41,7 +41,6 @@
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="modules/kittycad.api.html">kittycad.api</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="modules/kittycad.client.html">kittycad.client</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="modules/kittycad.models.html">kittycad.models</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="modules/kittycad.types.html">kittycad.types</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
@ -142,34 +141,6 @@
|
||||
|
||||
<ul>
|
||||
<li><a href="modules/kittycad.api.file.html#module-kittycad.api.file">module</a>
|
||||
</li>
|
||||
</ul></li>
|
||||
<li>
|
||||
kittycad.api.file.file_conversion_status
|
||||
|
||||
<ul>
|
||||
<li><a href="modules/kittycad.api.file.file_conversion_status.html#module-kittycad.api.file.file_conversion_status">module</a>
|
||||
</li>
|
||||
</ul></li>
|
||||
<li>
|
||||
kittycad.api.file.file_conversion_status_with_base64_helper
|
||||
|
||||
<ul>
|
||||
<li><a href="modules/kittycad.api.file.file_conversion_status_with_base64_helper.html#module-kittycad.api.file.file_conversion_status_with_base64_helper">module</a>
|
||||
</li>
|
||||
</ul></li>
|
||||
<li>
|
||||
kittycad.api.file.post_file_conversion
|
||||
|
||||
<ul>
|
||||
<li><a href="modules/kittycad.api.file.post_file_conversion.html#module-kittycad.api.file.post_file_conversion">module</a>
|
||||
</li>
|
||||
</ul></li>
|
||||
<li>
|
||||
kittycad.api.file.post_file_conversion_with_base64_helper
|
||||
|
||||
<ul>
|
||||
<li><a href="modules/kittycad.api.file.post_file_conversion_with_base64_helper.html#module-kittycad.api.file.post_file_conversion_with_base64_helper">module</a>
|
||||
</li>
|
||||
</ul></li>
|
||||
<li>
|
||||
@ -179,13 +150,8 @@
|
||||
<li><a href="modules/kittycad.api.internal.html#module-kittycad.api.internal">module</a>
|
||||
</li>
|
||||
</ul></li>
|
||||
<li>
|
||||
kittycad.api.internal.stop_async_conversions
|
||||
|
||||
<ul>
|
||||
<li><a href="modules/kittycad.api.internal.stop_async_conversions.html#module-kittycad.api.internal.stop_async_conversions">module</a>
|
||||
</li>
|
||||
</ul></li>
|
||||
</ul></td>
|
||||
<td style="width: 33%; vertical-align: top;"><ul>
|
||||
<li>
|
||||
kittycad.api.meta
|
||||
|
||||
@ -194,117 +160,17 @@
|
||||
</li>
|
||||
</ul></li>
|
||||
<li>
|
||||
kittycad.api.meta.auth_session
|
||||
kittycad.api.users
|
||||
|
||||
<ul>
|
||||
<li><a href="modules/kittycad.api.meta.auth_session.html#module-kittycad.api.meta.auth_session">module</a>
|
||||
<li><a href="modules/kittycad.api.users.html#module-kittycad.api.users">module</a>
|
||||
</li>
|
||||
</ul></li>
|
||||
<li>
|
||||
kittycad.api.meta.instance_metadata
|
||||
|
||||
<ul>
|
||||
<li><a href="modules/kittycad.api.meta.instance_metadata.html#module-kittycad.api.meta.instance_metadata">module</a>
|
||||
</li>
|
||||
</ul></li>
|
||||
<li>
|
||||
kittycad.api.meta.ping
|
||||
|
||||
<ul>
|
||||
<li><a href="modules/kittycad.api.meta.ping.html#module-kittycad.api.meta.ping">module</a>
|
||||
</li>
|
||||
</ul></li>
|
||||
</ul></td>
|
||||
<td style="width: 33%; vertical-align: top;"><ul>
|
||||
<li>
|
||||
kittycad.client
|
||||
|
||||
<ul>
|
||||
<li><a href="modules/kittycad.client.html#module-kittycad.client">module</a>
|
||||
</li>
|
||||
</ul></li>
|
||||
<li>
|
||||
kittycad.models
|
||||
|
||||
<ul>
|
||||
<li><a href="modules/kittycad.models.html#module-kittycad.models">module</a>
|
||||
</li>
|
||||
</ul></li>
|
||||
<li>
|
||||
kittycad.models.auth_session
|
||||
|
||||
<ul>
|
||||
<li><a href="modules/kittycad.models.auth_session.html#module-kittycad.models.auth_session">module</a>
|
||||
</li>
|
||||
</ul></li>
|
||||
<li>
|
||||
kittycad.models.error_message
|
||||
|
||||
<ul>
|
||||
<li><a href="modules/kittycad.models.error_message.html#module-kittycad.models.error_message">module</a>
|
||||
</li>
|
||||
</ul></li>
|
||||
<li>
|
||||
kittycad.models.file_conversion
|
||||
|
||||
<ul>
|
||||
<li><a href="modules/kittycad.models.file_conversion.html#module-kittycad.models.file_conversion">module</a>
|
||||
</li>
|
||||
</ul></li>
|
||||
<li>
|
||||
kittycad.models.file_conversion_status
|
||||
|
||||
<ul>
|
||||
<li><a href="modules/kittycad.models.file_conversion_status.html#module-kittycad.models.file_conversion_status">module</a>
|
||||
</li>
|
||||
</ul></li>
|
||||
<li>
|
||||
kittycad.models.gpu_device
|
||||
|
||||
<ul>
|
||||
<li><a href="modules/kittycad.models.gpu_device.html#module-kittycad.models.gpu_device">module</a>
|
||||
</li>
|
||||
</ul></li>
|
||||
<li>
|
||||
kittycad.models.instance
|
||||
|
||||
<ul>
|
||||
<li><a href="modules/kittycad.models.instance.html#module-kittycad.models.instance">module</a>
|
||||
</li>
|
||||
</ul></li>
|
||||
<li>
|
||||
kittycad.models.pong_enum
|
||||
|
||||
<ul>
|
||||
<li><a href="modules/kittycad.models.pong_enum.html#module-kittycad.models.pong_enum">module</a>
|
||||
</li>
|
||||
</ul></li>
|
||||
<li>
|
||||
kittycad.models.pong_message
|
||||
|
||||
<ul>
|
||||
<li><a href="modules/kittycad.models.pong_message.html#module-kittycad.models.pong_message">module</a>
|
||||
</li>
|
||||
</ul></li>
|
||||
<li>
|
||||
kittycad.models.server_env
|
||||
|
||||
<ul>
|
||||
<li><a href="modules/kittycad.models.server_env.html#module-kittycad.models.server_env">module</a>
|
||||
</li>
|
||||
</ul></li>
|
||||
<li>
|
||||
kittycad.models.valid_output_file_format
|
||||
|
||||
<ul>
|
||||
<li><a href="modules/kittycad.models.valid_output_file_format.html#module-kittycad.models.valid_output_file_format">module</a>
|
||||
</li>
|
||||
</ul></li>
|
||||
<li>
|
||||
kittycad.models.valid_source_file_format
|
||||
|
||||
<ul>
|
||||
<li><a href="modules/kittycad.models.valid_source_file_format.html#module-kittycad.models.valid_source_file_format">module</a>
|
||||
</li>
|
||||
</ul></li>
|
||||
<li>
|
||||
@ -331,52 +197,14 @@
|
||||
<li><a href="modules/kittycad.api.beta.html#module-kittycad.api.beta">kittycad.api.beta</a>
|
||||
</li>
|
||||
<li><a href="modules/kittycad.api.file.html#module-kittycad.api.file">kittycad.api.file</a>
|
||||
</li>
|
||||
<li><a href="modules/kittycad.api.file.file_conversion_status.html#module-kittycad.api.file.file_conversion_status">kittycad.api.file.file_conversion_status</a>
|
||||
</li>
|
||||
<li><a href="modules/kittycad.api.file.file_conversion_status_with_base64_helper.html#module-kittycad.api.file.file_conversion_status_with_base64_helper">kittycad.api.file.file_conversion_status_with_base64_helper</a>
|
||||
</li>
|
||||
<li><a href="modules/kittycad.api.file.post_file_conversion.html#module-kittycad.api.file.post_file_conversion">kittycad.api.file.post_file_conversion</a>
|
||||
</li>
|
||||
<li><a href="modules/kittycad.api.file.post_file_conversion_with_base64_helper.html#module-kittycad.api.file.post_file_conversion_with_base64_helper">kittycad.api.file.post_file_conversion_with_base64_helper</a>
|
||||
</li>
|
||||
<li><a href="modules/kittycad.api.internal.html#module-kittycad.api.internal">kittycad.api.internal</a>
|
||||
</li>
|
||||
<li><a href="modules/kittycad.api.internal.stop_async_conversions.html#module-kittycad.api.internal.stop_async_conversions">kittycad.api.internal.stop_async_conversions</a>
|
||||
</li>
|
||||
<li><a href="modules/kittycad.api.meta.html#module-kittycad.api.meta">kittycad.api.meta</a>
|
||||
</li>
|
||||
<li><a href="modules/kittycad.api.meta.auth_session.html#module-kittycad.api.meta.auth_session">kittycad.api.meta.auth_session</a>
|
||||
</li>
|
||||
<li><a href="modules/kittycad.api.meta.instance_metadata.html#module-kittycad.api.meta.instance_metadata">kittycad.api.meta.instance_metadata</a>
|
||||
</li>
|
||||
<li><a href="modules/kittycad.api.meta.ping.html#module-kittycad.api.meta.ping">kittycad.api.meta.ping</a>
|
||||
<li><a href="modules/kittycad.api.users.html#module-kittycad.api.users">kittycad.api.users</a>
|
||||
</li>
|
||||
<li><a href="modules/kittycad.client.html#module-kittycad.client">kittycad.client</a>
|
||||
</li>
|
||||
<li><a href="modules/kittycad.models.html#module-kittycad.models">kittycad.models</a>
|
||||
</li>
|
||||
<li><a href="modules/kittycad.models.auth_session.html#module-kittycad.models.auth_session">kittycad.models.auth_session</a>
|
||||
</li>
|
||||
<li><a href="modules/kittycad.models.error_message.html#module-kittycad.models.error_message">kittycad.models.error_message</a>
|
||||
</li>
|
||||
<li><a href="modules/kittycad.models.file_conversion.html#module-kittycad.models.file_conversion">kittycad.models.file_conversion</a>
|
||||
</li>
|
||||
<li><a href="modules/kittycad.models.file_conversion_status.html#module-kittycad.models.file_conversion_status">kittycad.models.file_conversion_status</a>
|
||||
</li>
|
||||
<li><a href="modules/kittycad.models.gpu_device.html#module-kittycad.models.gpu_device">kittycad.models.gpu_device</a>
|
||||
</li>
|
||||
<li><a href="modules/kittycad.models.instance.html#module-kittycad.models.instance">kittycad.models.instance</a>
|
||||
</li>
|
||||
<li><a href="modules/kittycad.models.pong_enum.html#module-kittycad.models.pong_enum">kittycad.models.pong_enum</a>
|
||||
</li>
|
||||
<li><a href="modules/kittycad.models.pong_message.html#module-kittycad.models.pong_message">kittycad.models.pong_message</a>
|
||||
</li>
|
||||
<li><a href="modules/kittycad.models.server_env.html#module-kittycad.models.server_env">kittycad.models.server_env</a>
|
||||
</li>
|
||||
<li><a href="modules/kittycad.models.valid_output_file_format.html#module-kittycad.models.valid_output_file_format">kittycad.models.valid_output_file_format</a>
|
||||
</li>
|
||||
<li><a href="modules/kittycad.models.valid_source_file_format.html#module-kittycad.models.valid_source_file_format">kittycad.models.valid_source_file_format</a>
|
||||
</li>
|
||||
<li><a href="modules/kittycad.types.html#module-kittycad.types">kittycad.types</a>
|
||||
</li>
|
||||
|
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Welcome to kittycad’s documentation! — kittycad v0.0.6 documentation</title>
|
||||
<title>Welcome to kittycad’s documentation! — kittycad v0.0.7 documentation</title>
|
||||
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
|
||||
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
|
||||
<link rel="stylesheet" href="_static/graphviz.css" type="text/css" />
|
||||
@ -30,7 +30,7 @@
|
||||
<a href="#" class="icon icon-home"> kittycad
|
||||
</a>
|
||||
<div class="version">
|
||||
v0.0.6
|
||||
v0.0.7
|
||||
</div>
|
||||
<div role="search">
|
||||
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
|
||||
@ -43,7 +43,6 @@
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="modules/kittycad.api.html">kittycad.api</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="modules/kittycad.client.html">kittycad.client</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="modules/kittycad.models.html">kittycad.models</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="modules/kittycad.types.html">kittycad.types</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
@ -89,10 +88,7 @@
|
||||
<tr class="row-even"><td><p><a class="reference internal" href="modules/kittycad.client.html#module-kittycad.client" title="kittycad.client"><code class="xref py py-obj docutils literal notranslate"><span class="pre">kittycad.client</span></code></a></p></td>
|
||||
<td><p></p></td>
|
||||
</tr>
|
||||
<tr class="row-odd"><td><p><a class="reference internal" href="modules/kittycad.models.html#module-kittycad.models" title="kittycad.models"><code class="xref py py-obj docutils literal notranslate"><span class="pre">kittycad.models</span></code></a></p></td>
|
||||
<td><p>Contains all the data models used in inputs/outputs</p></td>
|
||||
</tr>
|
||||
<tr class="row-even"><td><p><a class="reference internal" href="modules/kittycad.types.html#module-kittycad.types" title="kittycad.types"><code class="xref py py-obj docutils literal notranslate"><span class="pre">kittycad.types</span></code></a></p></td>
|
||||
<tr class="row-odd"><td><p><a class="reference internal" href="modules/kittycad.types.html#module-kittycad.types" title="kittycad.types"><code class="xref py py-obj docutils literal notranslate"><span class="pre">kittycad.types</span></code></a></p></td>
|
||||
<td><p>Contains some shared types for properties</p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>kittycad.api.beta — kittycad v0.0.6 documentation</title>
|
||||
<title>kittycad.api.beta — kittycad v0.0.7 documentation</title>
|
||||
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/graphviz.css" type="text/css" />
|
||||
@ -31,7 +31,7 @@
|
||||
<a href="../index.html" class="icon icon-home"> kittycad
|
||||
</a>
|
||||
<div class="version">
|
||||
v0.0.6
|
||||
v0.0.7
|
||||
</div>
|
||||
<div role="search">
|
||||
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
|
||||
@ -47,10 +47,10 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.file.html">kittycad.api.file</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.internal.html">kittycad.api.internal</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.meta.html">kittycad.api.meta</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.users.html">kittycad.api.users</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.client.html">kittycad.client</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.models.html">kittycad.models</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.types.html">kittycad.types</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
|
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>kittycad.api.file.file_conversion_status — kittycad v0.0.6 documentation</title>
|
||||
<title>kittycad.api.file.file_conversion_status — kittycad v0.0.7 documentation</title>
|
||||
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/graphviz.css" type="text/css" />
|
||||
@ -18,9 +18,7 @@
|
||||
<script src="../_static/doctools.js"></script>
|
||||
<script src="../_static/js/theme.js"></script>
|
||||
<link rel="index" title="Index" href="../genindex.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
<link rel="next" title="kittycad.api.file.file_conversion_status_with_base64_helper" href="kittycad.api.file.file_conversion_status_with_base64_helper.html" />
|
||||
<link rel="prev" title="kittycad.api.file" href="kittycad.api.file.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
</head>
|
||||
|
||||
<body class="wy-body-for-nav">
|
||||
@ -31,7 +29,7 @@
|
||||
<a href="../index.html" class="icon icon-home"> kittycad
|
||||
</a>
|
||||
<div class="version">
|
||||
v0.0.6
|
||||
v0.0.7
|
||||
</div>
|
||||
<div role="search">
|
||||
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
|
||||
@ -41,22 +39,9 @@
|
||||
</form>
|
||||
</div>
|
||||
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
|
||||
<ul class="current">
|
||||
<li class="toctree-l1 current"><a class="reference internal" href="kittycad.api.html">kittycad.api</a><ul class="current">
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.beta.html">kittycad.api.beta</a></li>
|
||||
<li class="toctree-l2 current"><a class="reference internal" href="kittycad.api.file.html">kittycad.api.file</a><ul class="current">
|
||||
<li class="toctree-l3 current"><a class="current reference internal" href="#">kittycad.api.file.file_conversion_status</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="kittycad.api.file.file_conversion_status_with_base64_helper.html">kittycad.api.file.file_conversion_status_with_base64_helper</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="kittycad.api.file.post_file_conversion.html">kittycad.api.file.post_file_conversion</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="kittycad.api.file.post_file_conversion_with_base64_helper.html">kittycad.api.file.post_file_conversion_with_base64_helper</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.internal.html">kittycad.api.internal</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.meta.html">kittycad.api.meta</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.api.html">kittycad.api</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.client.html">kittycad.client</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.models.html">kittycad.models</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.types.html">kittycad.types</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
@ -78,8 +63,6 @@
|
||||
<div role="navigation" aria-label="Page navigation">
|
||||
<ul class="wy-breadcrumbs">
|
||||
<li><a href="../index.html" class="icon icon-home"></a> »</li>
|
||||
<li><a href="kittycad.api.html">kittycad.api</a> »</li>
|
||||
<li><a href="kittycad.api.file.html">kittycad.api.file</a> »</li>
|
||||
<li>kittycad.api.file.file_conversion_status</li>
|
||||
<li class="wy-breadcrumbs-aside">
|
||||
<a href="../_sources/modules/kittycad.api.file.file_conversion_status.rst.txt" rel="nofollow"> View page source</a>
|
||||
@ -90,48 +73,14 @@
|
||||
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
||||
<div itemprop="articleBody">
|
||||
|
||||
<section id="module-kittycad.api.file.file_conversion_status">
|
||||
<span id="kittycad-api-file-file-conversion-status"></span><h1>kittycad.api.file.file_conversion_status<a class="headerlink" href="#module-kittycad.api.file.file_conversion_status" title="Permalink to this headline"></a></h1>
|
||||
<p class="rubric">Functions</p>
|
||||
<table class="longtable docutils align-default">
|
||||
<colgroup>
|
||||
<col style="width: 10%" />
|
||||
<col style="width: 90%" />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">asyncio</span></code>(id, *, client)</p></td>
|
||||
<td><p>Get the status and output of an async file conversion.</p></td>
|
||||
</tr>
|
||||
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">asyncio_detailed</span></code>(id, *, client)</p></td>
|
||||
<td><p><dl class="field-list simple">
|
||||
<dt class="field-odd">rtype</dt>
|
||||
<dd class="field-odd"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">Response</span></code>[<a class="reference external" href="https://python.readthedocs.io/en/latest/library/typing.html#typing.Union" title="(in Python v3.7)"><code class="xref py py-data docutils literal notranslate"><span class="pre">Union</span></code></a>[<a class="reference external" href="https://python.readthedocs.io/en/latest/library/typing.html#typing.Any" title="(in Python v3.7)"><code class="xref py py-data docutils literal notranslate"><span class="pre">Any</span></code></a>, <code class="xref py py-class docutils literal notranslate"><span class="pre">FileConversion</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">ErrorMessage</span></code>]]</p>
|
||||
</dd>
|
||||
</dl>
|
||||
</p></td>
|
||||
</tr>
|
||||
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">sync</span></code>(id, *, client)</p></td>
|
||||
<td><p>Get the status and output of an async file conversion.</p></td>
|
||||
</tr>
|
||||
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">sync_detailed</span></code>(id, *, client)</p></td>
|
||||
<td><p><dl class="field-list simple">
|
||||
<dt class="field-odd">rtype</dt>
|
||||
<dd class="field-odd"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">Response</span></code>[<a class="reference external" href="https://python.readthedocs.io/en/latest/library/typing.html#typing.Union" title="(in Python v3.7)"><code class="xref py py-data docutils literal notranslate"><span class="pre">Union</span></code></a>[<a class="reference external" href="https://python.readthedocs.io/en/latest/library/typing.html#typing.Any" title="(in Python v3.7)"><code class="xref py py-data docutils literal notranslate"><span class="pre">Any</span></code></a>, <code class="xref py py-class docutils literal notranslate"><span class="pre">FileConversion</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">ErrorMessage</span></code>]]</p>
|
||||
</dd>
|
||||
</dl>
|
||||
</p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<section id="kittycad-api-file-file-conversion-status">
|
||||
<h1>kittycad.api.file.file_conversion_status<a class="headerlink" href="#kittycad-api-file-file-conversion-status" title="Permalink to this headline"></a></h1>
|
||||
</section>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
|
||||
<a href="kittycad.api.file.html" class="btn btn-neutral float-left" title="kittycad.api.file" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
|
||||
<a href="kittycad.api.file.file_conversion_status_with_base64_helper.html" class="btn btn-neutral float-right" title="kittycad.api.file.file_conversion_status_with_base64_helper" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
|
||||
</div>
|
||||
<footer>
|
||||
|
||||
<hr/>
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>kittycad.api.file.file_conversion_status_with_base64_helper — kittycad v0.0.6 documentation</title>
|
||||
<title>kittycad.api.file.file_conversion_status_with_base64_helper — kittycad v0.0.7 documentation</title>
|
||||
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/graphviz.css" type="text/css" />
|
||||
@ -18,9 +18,7 @@
|
||||
<script src="../_static/doctools.js"></script>
|
||||
<script src="../_static/js/theme.js"></script>
|
||||
<link rel="index" title="Index" href="../genindex.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
<link rel="next" title="kittycad.api.file.post_file_conversion" href="kittycad.api.file.post_file_conversion.html" />
|
||||
<link rel="prev" title="kittycad.api.file.file_conversion_status" href="kittycad.api.file.file_conversion_status.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
</head>
|
||||
|
||||
<body class="wy-body-for-nav">
|
||||
@ -31,7 +29,7 @@
|
||||
<a href="../index.html" class="icon icon-home"> kittycad
|
||||
</a>
|
||||
<div class="version">
|
||||
v0.0.6
|
||||
v0.0.7
|
||||
</div>
|
||||
<div role="search">
|
||||
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
|
||||
@ -41,22 +39,9 @@
|
||||
</form>
|
||||
</div>
|
||||
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
|
||||
<ul class="current">
|
||||
<li class="toctree-l1 current"><a class="reference internal" href="kittycad.api.html">kittycad.api</a><ul class="current">
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.beta.html">kittycad.api.beta</a></li>
|
||||
<li class="toctree-l2 current"><a class="reference internal" href="kittycad.api.file.html">kittycad.api.file</a><ul class="current">
|
||||
<li class="toctree-l3"><a class="reference internal" href="kittycad.api.file.file_conversion_status.html">kittycad.api.file.file_conversion_status</a></li>
|
||||
<li class="toctree-l3 current"><a class="current reference internal" href="#">kittycad.api.file.file_conversion_status_with_base64_helper</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="kittycad.api.file.post_file_conversion.html">kittycad.api.file.post_file_conversion</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="kittycad.api.file.post_file_conversion_with_base64_helper.html">kittycad.api.file.post_file_conversion_with_base64_helper</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.internal.html">kittycad.api.internal</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.meta.html">kittycad.api.meta</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.api.html">kittycad.api</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.client.html">kittycad.client</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.models.html">kittycad.models</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.types.html">kittycad.types</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
@ -78,8 +63,6 @@
|
||||
<div role="navigation" aria-label="Page navigation">
|
||||
<ul class="wy-breadcrumbs">
|
||||
<li><a href="../index.html" class="icon icon-home"></a> »</li>
|
||||
<li><a href="kittycad.api.html">kittycad.api</a> »</li>
|
||||
<li><a href="kittycad.api.file.html">kittycad.api.file</a> »</li>
|
||||
<li>kittycad.api.file.file_conversion_status_with_base64_helper</li>
|
||||
<li class="wy-breadcrumbs-aside">
|
||||
<a href="../_sources/modules/kittycad.api.file.file_conversion_status_with_base64_helper.rst.txt" rel="nofollow"> View page source</a>
|
||||
@ -90,32 +73,14 @@
|
||||
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
||||
<div itemprop="articleBody">
|
||||
|
||||
<section id="module-kittycad.api.file.file_conversion_status_with_base64_helper">
|
||||
<span id="kittycad-api-file-file-conversion-status-with-base64-helper"></span><h1>kittycad.api.file.file_conversion_status_with_base64_helper<a class="headerlink" href="#module-kittycad.api.file.file_conversion_status_with_base64_helper" title="Permalink to this headline"></a></h1>
|
||||
<p class="rubric">Functions</p>
|
||||
<table class="longtable docutils align-default">
|
||||
<colgroup>
|
||||
<col style="width: 10%" />
|
||||
<col style="width: 90%" />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">asyncio</span></code>(id, *, client)</p></td>
|
||||
<td><p>Get the status of a file conversion.</p></td>
|
||||
</tr>
|
||||
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">sync</span></code>(id, *, client)</p></td>
|
||||
<td><p>Get the status of a file conversion.</p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<section id="kittycad-api-file-file-conversion-status-with-base64-helper">
|
||||
<h1>kittycad.api.file.file_conversion_status_with_base64_helper<a class="headerlink" href="#kittycad-api-file-file-conversion-status-with-base64-helper" title="Permalink to this headline"></a></h1>
|
||||
</section>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
|
||||
<a href="kittycad.api.file.file_conversion_status.html" class="btn btn-neutral float-left" title="kittycad.api.file.file_conversion_status" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
|
||||
<a href="kittycad.api.file.post_file_conversion.html" class="btn btn-neutral float-right" title="kittycad.api.file.post_file_conversion" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
|
||||
</div>
|
||||
<footer>
|
||||
|
||||
<hr/>
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>kittycad.api.file — kittycad v0.0.6 documentation</title>
|
||||
<title>kittycad.api.file — kittycad v0.0.7 documentation</title>
|
||||
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/graphviz.css" type="text/css" />
|
||||
@ -19,7 +19,7 @@
|
||||
<script src="../_static/js/theme.js"></script>
|
||||
<link rel="index" title="Index" href="../genindex.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
<link rel="next" title="kittycad.api.file.file_conversion_status" href="kittycad.api.file.file_conversion_status.html" />
|
||||
<link rel="next" title="kittycad.api.internal" href="kittycad.api.internal.html" />
|
||||
<link rel="prev" title="kittycad.api.beta" href="kittycad.api.beta.html" />
|
||||
</head>
|
||||
|
||||
@ -31,7 +31,7 @@
|
||||
<a href="../index.html" class="icon icon-home"> kittycad
|
||||
</a>
|
||||
<div class="version">
|
||||
v0.0.6
|
||||
v0.0.7
|
||||
</div>
|
||||
<div role="search">
|
||||
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
|
||||
@ -44,19 +44,13 @@
|
||||
<ul class="current">
|
||||
<li class="toctree-l1 current"><a class="reference internal" href="kittycad.api.html">kittycad.api</a><ul class="current">
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.beta.html">kittycad.api.beta</a></li>
|
||||
<li class="toctree-l2 current"><a class="current reference internal" href="#">kittycad.api.file</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="kittycad.api.file.file_conversion_status.html">kittycad.api.file.file_conversion_status</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="kittycad.api.file.file_conversion_status_with_base64_helper.html">kittycad.api.file.file_conversion_status_with_base64_helper</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="kittycad.api.file.post_file_conversion.html">kittycad.api.file.post_file_conversion</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="kittycad.api.file.post_file_conversion_with_base64_helper.html">kittycad.api.file.post_file_conversion_with_base64_helper</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2 current"><a class="current reference internal" href="#">kittycad.api.file</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.internal.html">kittycad.api.internal</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.meta.html">kittycad.api.meta</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.users.html">kittycad.api.users</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.client.html">kittycad.client</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.models.html">kittycad.models</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.types.html">kittycad.types</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
@ -91,7 +85,7 @@
|
||||
|
||||
<section id="module-kittycad.api.file">
|
||||
<span id="kittycad-api-file"></span><h1>kittycad.api.file<a class="headerlink" href="#module-kittycad.api.file" title="Permalink to this headline"></a></h1>
|
||||
<p>Contains methods for accessing the file API paths: CAD file operations.</p>
|
||||
<p>Contains methods for accessing the file API paths: CAD file operations. Create, get, and list CAD file conversions. More endpoints will be added here in the future as we build out transforms, etc on CAD models.</p>
|
||||
<p class="rubric">Modules</p>
|
||||
<table class="longtable docutils align-default">
|
||||
<colgroup>
|
||||
@ -99,18 +93,6 @@
|
||||
<col style="width: 90%" />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr class="row-odd"><td><p><a class="reference internal" href="kittycad.api.file.file_conversion_status.html#module-kittycad.api.file.file_conversion_status" title="kittycad.api.file.file_conversion_status"><code class="xref py py-obj docutils literal notranslate"><span class="pre">kittycad.api.file.file_conversion_status</span></code></a></p></td>
|
||||
<td><p></p></td>
|
||||
</tr>
|
||||
<tr class="row-even"><td><p><a class="reference internal" href="kittycad.api.file.file_conversion_status_with_base64_helper.html#module-kittycad.api.file.file_conversion_status_with_base64_helper" title="kittycad.api.file.file_conversion_status_with_base64_helper"><code class="xref py py-obj docutils literal notranslate"><span class="pre">kittycad.api.file.file_conversion_status_with_base64_helper</span></code></a></p></td>
|
||||
<td><p></p></td>
|
||||
</tr>
|
||||
<tr class="row-odd"><td><p><a class="reference internal" href="kittycad.api.file.post_file_conversion.html#module-kittycad.api.file.post_file_conversion" title="kittycad.api.file.post_file_conversion"><code class="xref py py-obj docutils literal notranslate"><span class="pre">kittycad.api.file.post_file_conversion</span></code></a></p></td>
|
||||
<td><p></p></td>
|
||||
</tr>
|
||||
<tr class="row-even"><td><p><a class="reference internal" href="kittycad.api.file.post_file_conversion_with_base64_helper.html#module-kittycad.api.file.post_file_conversion_with_base64_helper" title="kittycad.api.file.post_file_conversion_with_base64_helper"><code class="xref py py-obj docutils literal notranslate"><span class="pre">kittycad.api.file.post_file_conversion_with_base64_helper</span></code></a></p></td>
|
||||
<td><p></p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
@ -120,7 +102,7 @@
|
||||
</div>
|
||||
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
|
||||
<a href="kittycad.api.beta.html" class="btn btn-neutral float-left" title="kittycad.api.beta" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
|
||||
<a href="kittycad.api.file.file_conversion_status.html" class="btn btn-neutral float-right" title="kittycad.api.file.file_conversion_status" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
|
||||
<a href="kittycad.api.internal.html" class="btn btn-neutral float-right" title="kittycad.api.internal" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
|
||||
</div>
|
||||
|
||||
<hr/>
|
||||
|
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>kittycad.api.file.post_file_conversion — kittycad v0.0.6 documentation</title>
|
||||
<title>kittycad.api.file.post_file_conversion — kittycad v0.0.7 documentation</title>
|
||||
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/graphviz.css" type="text/css" />
|
||||
@ -18,9 +18,7 @@
|
||||
<script src="../_static/doctools.js"></script>
|
||||
<script src="../_static/js/theme.js"></script>
|
||||
<link rel="index" title="Index" href="../genindex.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
<link rel="next" title="kittycad.api.file.post_file_conversion_with_base64_helper" href="kittycad.api.file.post_file_conversion_with_base64_helper.html" />
|
||||
<link rel="prev" title="kittycad.api.file.file_conversion_status_with_base64_helper" href="kittycad.api.file.file_conversion_status_with_base64_helper.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
</head>
|
||||
|
||||
<body class="wy-body-for-nav">
|
||||
@ -31,7 +29,7 @@
|
||||
<a href="../index.html" class="icon icon-home"> kittycad
|
||||
</a>
|
||||
<div class="version">
|
||||
v0.0.6
|
||||
v0.0.7
|
||||
</div>
|
||||
<div role="search">
|
||||
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
|
||||
@ -41,22 +39,9 @@
|
||||
</form>
|
||||
</div>
|
||||
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
|
||||
<ul class="current">
|
||||
<li class="toctree-l1 current"><a class="reference internal" href="kittycad.api.html">kittycad.api</a><ul class="current">
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.beta.html">kittycad.api.beta</a></li>
|
||||
<li class="toctree-l2 current"><a class="reference internal" href="kittycad.api.file.html">kittycad.api.file</a><ul class="current">
|
||||
<li class="toctree-l3"><a class="reference internal" href="kittycad.api.file.file_conversion_status.html">kittycad.api.file.file_conversion_status</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="kittycad.api.file.file_conversion_status_with_base64_helper.html">kittycad.api.file.file_conversion_status_with_base64_helper</a></li>
|
||||
<li class="toctree-l3 current"><a class="current reference internal" href="#">kittycad.api.file.post_file_conversion</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="kittycad.api.file.post_file_conversion_with_base64_helper.html">kittycad.api.file.post_file_conversion_with_base64_helper</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.internal.html">kittycad.api.internal</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.meta.html">kittycad.api.meta</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.api.html">kittycad.api</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.client.html">kittycad.client</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.models.html">kittycad.models</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.types.html">kittycad.types</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
@ -78,8 +63,6 @@
|
||||
<div role="navigation" aria-label="Page navigation">
|
||||
<ul class="wy-breadcrumbs">
|
||||
<li><a href="../index.html" class="icon icon-home"></a> »</li>
|
||||
<li><a href="kittycad.api.html">kittycad.api</a> »</li>
|
||||
<li><a href="kittycad.api.file.html">kittycad.api.file</a> »</li>
|
||||
<li>kittycad.api.file.post_file_conversion</li>
|
||||
<li class="wy-breadcrumbs-aside">
|
||||
<a href="../_sources/modules/kittycad.api.file.post_file_conversion.rst.txt" rel="nofollow"> View page source</a>
|
||||
@ -90,48 +73,14 @@
|
||||
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
||||
<div itemprop="articleBody">
|
||||
|
||||
<section id="module-kittycad.api.file.post_file_conversion">
|
||||
<span id="kittycad-api-file-post-file-conversion"></span><h1>kittycad.api.file.post_file_conversion<a class="headerlink" href="#module-kittycad.api.file.post_file_conversion" title="Permalink to this headline"></a></h1>
|
||||
<p class="rubric">Functions</p>
|
||||
<table class="longtable docutils align-default">
|
||||
<colgroup>
|
||||
<col style="width: 10%" />
|
||||
<col style="width: 90%" />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">asyncio</span></code>(source_format, output_format, body, ...)</p></td>
|
||||
<td><p>Convert a CAD file from one format to another.</p></td>
|
||||
</tr>
|
||||
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">asyncio_detailed</span></code>(source_format, ...)</p></td>
|
||||
<td><p><dl class="field-list simple">
|
||||
<dt class="field-odd">rtype</dt>
|
||||
<dd class="field-odd"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">Response</span></code>[<a class="reference external" href="https://python.readthedocs.io/en/latest/library/typing.html#typing.Union" title="(in Python v3.7)"><code class="xref py py-data docutils literal notranslate"><span class="pre">Union</span></code></a>[<a class="reference external" href="https://python.readthedocs.io/en/latest/library/typing.html#typing.Any" title="(in Python v3.7)"><code class="xref py py-data docutils literal notranslate"><span class="pre">Any</span></code></a>, <code class="xref py py-class docutils literal notranslate"><span class="pre">FileConversion</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">ErrorMessage</span></code>]]</p>
|
||||
</dd>
|
||||
</dl>
|
||||
</p></td>
|
||||
</tr>
|
||||
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">sync</span></code>(source_format, output_format, body, *, ...)</p></td>
|
||||
<td><p>Convert a CAD file from one format to another.</p></td>
|
||||
</tr>
|
||||
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">sync_detailed</span></code>(source_format, output_format, ...)</p></td>
|
||||
<td><p><dl class="field-list simple">
|
||||
<dt class="field-odd">rtype</dt>
|
||||
<dd class="field-odd"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">Response</span></code>[<a class="reference external" href="https://python.readthedocs.io/en/latest/library/typing.html#typing.Union" title="(in Python v3.7)"><code class="xref py py-data docutils literal notranslate"><span class="pre">Union</span></code></a>[<a class="reference external" href="https://python.readthedocs.io/en/latest/library/typing.html#typing.Any" title="(in Python v3.7)"><code class="xref py py-data docutils literal notranslate"><span class="pre">Any</span></code></a>, <code class="xref py py-class docutils literal notranslate"><span class="pre">FileConversion</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">ErrorMessage</span></code>]]</p>
|
||||
</dd>
|
||||
</dl>
|
||||
</p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<section id="kittycad-api-file-post-file-conversion">
|
||||
<h1>kittycad.api.file.post_file_conversion<a class="headerlink" href="#kittycad-api-file-post-file-conversion" title="Permalink to this headline"></a></h1>
|
||||
</section>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
|
||||
<a href="kittycad.api.file.file_conversion_status_with_base64_helper.html" class="btn btn-neutral float-left" title="kittycad.api.file.file_conversion_status_with_base64_helper" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
|
||||
<a href="kittycad.api.file.post_file_conversion_with_base64_helper.html" class="btn btn-neutral float-right" title="kittycad.api.file.post_file_conversion_with_base64_helper" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
|
||||
</div>
|
||||
<footer>
|
||||
|
||||
<hr/>
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>kittycad.api.file.post_file_conversion_with_base64_helper — kittycad v0.0.6 documentation</title>
|
||||
<title>kittycad.api.file.post_file_conversion_with_base64_helper — kittycad v0.0.7 documentation</title>
|
||||
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/graphviz.css" type="text/css" />
|
||||
@ -18,9 +18,7 @@
|
||||
<script src="../_static/doctools.js"></script>
|
||||
<script src="../_static/js/theme.js"></script>
|
||||
<link rel="index" title="Index" href="../genindex.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
<link rel="next" title="kittycad.api.internal" href="kittycad.api.internal.html" />
|
||||
<link rel="prev" title="kittycad.api.file.post_file_conversion" href="kittycad.api.file.post_file_conversion.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
</head>
|
||||
|
||||
<body class="wy-body-for-nav">
|
||||
@ -31,7 +29,7 @@
|
||||
<a href="../index.html" class="icon icon-home"> kittycad
|
||||
</a>
|
||||
<div class="version">
|
||||
v0.0.6
|
||||
v0.0.7
|
||||
</div>
|
||||
<div role="search">
|
||||
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
|
||||
@ -41,22 +39,9 @@
|
||||
</form>
|
||||
</div>
|
||||
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
|
||||
<ul class="current">
|
||||
<li class="toctree-l1 current"><a class="reference internal" href="kittycad.api.html">kittycad.api</a><ul class="current">
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.beta.html">kittycad.api.beta</a></li>
|
||||
<li class="toctree-l2 current"><a class="reference internal" href="kittycad.api.file.html">kittycad.api.file</a><ul class="current">
|
||||
<li class="toctree-l3"><a class="reference internal" href="kittycad.api.file.file_conversion_status.html">kittycad.api.file.file_conversion_status</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="kittycad.api.file.file_conversion_status_with_base64_helper.html">kittycad.api.file.file_conversion_status_with_base64_helper</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="kittycad.api.file.post_file_conversion.html">kittycad.api.file.post_file_conversion</a></li>
|
||||
<li class="toctree-l3 current"><a class="current reference internal" href="#">kittycad.api.file.post_file_conversion_with_base64_helper</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.internal.html">kittycad.api.internal</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.meta.html">kittycad.api.meta</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.api.html">kittycad.api</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.client.html">kittycad.client</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.models.html">kittycad.models</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.types.html">kittycad.types</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
@ -78,8 +63,6 @@
|
||||
<div role="navigation" aria-label="Page navigation">
|
||||
<ul class="wy-breadcrumbs">
|
||||
<li><a href="../index.html" class="icon icon-home"></a> »</li>
|
||||
<li><a href="kittycad.api.html">kittycad.api</a> »</li>
|
||||
<li><a href="kittycad.api.file.html">kittycad.api.file</a> »</li>
|
||||
<li>kittycad.api.file.post_file_conversion_with_base64_helper</li>
|
||||
<li class="wy-breadcrumbs-aside">
|
||||
<a href="../_sources/modules/kittycad.api.file.post_file_conversion_with_base64_helper.rst.txt" rel="nofollow"> View page source</a>
|
||||
@ -90,32 +73,14 @@
|
||||
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
||||
<div itemprop="articleBody">
|
||||
|
||||
<section id="module-kittycad.api.file.post_file_conversion_with_base64_helper">
|
||||
<span id="kittycad-api-file-post-file-conversion-with-base64-helper"></span><h1>kittycad.api.file.post_file_conversion_with_base64_helper<a class="headerlink" href="#module-kittycad.api.file.post_file_conversion_with_base64_helper" title="Permalink to this headline"></a></h1>
|
||||
<p class="rubric">Functions</p>
|
||||
<table class="longtable docutils align-default">
|
||||
<colgroup>
|
||||
<col style="width: 10%" />
|
||||
<col style="width: 90%" />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">asyncio</span></code>(source_format, output_format, body, ...)</p></td>
|
||||
<td><p>Convert a CAD file from one format to another.</p></td>
|
||||
</tr>
|
||||
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">sync</span></code>(source_format, output_format, body, *, ...)</p></td>
|
||||
<td><p>Convert a CAD file from one format to another.</p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<section id="kittycad-api-file-post-file-conversion-with-base64-helper">
|
||||
<h1>kittycad.api.file.post_file_conversion_with_base64_helper<a class="headerlink" href="#kittycad-api-file-post-file-conversion-with-base64-helper" title="Permalink to this headline"></a></h1>
|
||||
</section>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
|
||||
<a href="kittycad.api.file.post_file_conversion.html" class="btn btn-neutral float-left" title="kittycad.api.file.post_file_conversion" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
|
||||
<a href="kittycad.api.internal.html" class="btn btn-neutral float-right" title="kittycad.api.internal" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
|
||||
</div>
|
||||
<footer>
|
||||
|
||||
<hr/>
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>kittycad.api — kittycad v0.0.6 documentation</title>
|
||||
<title>kittycad.api — kittycad v0.0.7 documentation</title>
|
||||
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/graphviz.css" type="text/css" />
|
||||
@ -31,7 +31,7 @@
|
||||
<a href="../index.html" class="icon icon-home"> kittycad
|
||||
</a>
|
||||
<div class="version">
|
||||
v0.0.6
|
||||
v0.0.7
|
||||
</div>
|
||||
<div role="search">
|
||||
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
|
||||
@ -47,10 +47,10 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.file.html">kittycad.api.file</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.internal.html">kittycad.api.internal</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.meta.html">kittycad.api.meta</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.users.html">kittycad.api.users</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.client.html">kittycad.client</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.models.html">kittycad.models</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.types.html">kittycad.types</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
@ -92,6 +92,12 @@
|
||||
<col style="width: 90%" />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">kittycad.api.api-calls</span></code></p></td>
|
||||
<td><p></p></td>
|
||||
</tr>
|
||||
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">kittycad.api.api-tokens</span></code></p></td>
|
||||
<td><p></p></td>
|
||||
</tr>
|
||||
<tr class="row-odd"><td><p><a class="reference internal" href="kittycad.api.beta.html#module-kittycad.api.beta" title="kittycad.api.beta"><code class="xref py py-obj docutils literal notranslate"><span class="pre">kittycad.api.beta</span></code></a></p></td>
|
||||
<td><p>Contains methods for accessing the beta API paths: Beta API endpoints.</p></td>
|
||||
</tr>
|
||||
@ -102,7 +108,10 @@
|
||||
<td><p>Contains methods for accessing the internal API paths: Internal API endpoints.</p></td>
|
||||
</tr>
|
||||
<tr class="row-even"><td><p><a class="reference internal" href="kittycad.api.meta.html#module-kittycad.api.meta" title="kittycad.api.meta"><code class="xref py py-obj docutils literal notranslate"><span class="pre">kittycad.api.meta</span></code></a></p></td>
|
||||
<td><p>Contains methods for accessing the meta API paths: Meta information about servers, instances, and sessions.</p></td>
|
||||
<td><p>Contains methods for accessing the meta API paths: Meta information about the API.</p></td>
|
||||
</tr>
|
||||
<tr class="row-odd"><td><p><a class="reference internal" href="kittycad.api.users.html#module-kittycad.api.users" title="kittycad.api.users"><code class="xref py py-obj docutils literal notranslate"><span class="pre">kittycad.api.users</span></code></a></p></td>
|
||||
<td><p>Contains methods for accessing the users API paths: A user is someone who uses the KittyCAD API.</p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>kittycad.api.internal.gpu_devices — kittycad v0.0.6 documentation</title>
|
||||
<title>kittycad.api.internal.gpu_devices — kittycad v0.0.7 documentation</title>
|
||||
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/graphviz.css" type="text/css" />
|
||||
@ -29,7 +29,7 @@
|
||||
<a href="../index.html" class="icon icon-home"> kittycad
|
||||
</a>
|
||||
<div class="version">
|
||||
v0.0.6
|
||||
v0.0.7
|
||||
</div>
|
||||
<div role="search">
|
||||
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
|
||||
@ -42,7 +42,6 @@
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.api.html">kittycad.api</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.client.html">kittycad.client</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.models.html">kittycad.models</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.types.html">kittycad.types</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
|
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>kittycad.api.internal — kittycad v0.0.6 documentation</title>
|
||||
<title>kittycad.api.internal — kittycad v0.0.7 documentation</title>
|
||||
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/graphviz.css" type="text/css" />
|
||||
@ -19,8 +19,8 @@
|
||||
<script src="../_static/js/theme.js"></script>
|
||||
<link rel="index" title="Index" href="../genindex.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
<link rel="next" title="kittycad.api.internal.stop_async_conversions" href="kittycad.api.internal.stop_async_conversions.html" />
|
||||
<link rel="prev" title="kittycad.api.file.post_file_conversion_with_base64_helper" href="kittycad.api.file.post_file_conversion_with_base64_helper.html" />
|
||||
<link rel="next" title="kittycad.api.meta" href="kittycad.api.meta.html" />
|
||||
<link rel="prev" title="kittycad.api.file" href="kittycad.api.file.html" />
|
||||
</head>
|
||||
|
||||
<body class="wy-body-for-nav">
|
||||
@ -31,7 +31,7 @@
|
||||
<a href="../index.html" class="icon icon-home"> kittycad
|
||||
</a>
|
||||
<div class="version">
|
||||
v0.0.6
|
||||
v0.0.7
|
||||
</div>
|
||||
<div role="search">
|
||||
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
|
||||
@ -45,15 +45,12 @@
|
||||
<li class="toctree-l1 current"><a class="reference internal" href="kittycad.api.html">kittycad.api</a><ul class="current">
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.beta.html">kittycad.api.beta</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.file.html">kittycad.api.file</a></li>
|
||||
<li class="toctree-l2 current"><a class="current reference internal" href="#">kittycad.api.internal</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="kittycad.api.internal.stop_async_conversions.html">kittycad.api.internal.stop_async_conversions</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2 current"><a class="current reference internal" href="#">kittycad.api.internal</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.meta.html">kittycad.api.meta</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.users.html">kittycad.api.users</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.client.html">kittycad.client</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.models.html">kittycad.models</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.types.html">kittycad.types</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
@ -96,9 +93,6 @@
|
||||
<col style="width: 90%" />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr class="row-odd"><td><p><a class="reference internal" href="kittycad.api.internal.stop_async_conversions.html#module-kittycad.api.internal.stop_async_conversions" title="kittycad.api.internal.stop_async_conversions"><code class="xref py py-obj docutils literal notranslate"><span class="pre">kittycad.api.internal.stop_async_conversions</span></code></a></p></td>
|
||||
<td><p></p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
@ -107,8 +101,8 @@
|
||||
</div>
|
||||
</div>
|
||||
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
|
||||
<a href="kittycad.api.file.post_file_conversion_with_base64_helper.html" class="btn btn-neutral float-left" title="kittycad.api.file.post_file_conversion_with_base64_helper" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
|
||||
<a href="kittycad.api.internal.stop_async_conversions.html" class="btn btn-neutral float-right" title="kittycad.api.internal.stop_async_conversions" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
|
||||
<a href="kittycad.api.file.html" class="btn btn-neutral float-left" title="kittycad.api.file" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
|
||||
<a href="kittycad.api.meta.html" class="btn btn-neutral float-right" title="kittycad.api.meta" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
|
||||
</div>
|
||||
|
||||
<hr/>
|
||||
|
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>kittycad.api.internal.stop_async_conversions — kittycad v0.0.6 documentation</title>
|
||||
<title>kittycad.api.internal.stop_async_conversions — kittycad v0.0.7 documentation</title>
|
||||
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/graphviz.css" type="text/css" />
|
||||
@ -18,9 +18,7 @@
|
||||
<script src="../_static/doctools.js"></script>
|
||||
<script src="../_static/js/theme.js"></script>
|
||||
<link rel="index" title="Index" href="../genindex.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
<link rel="next" title="kittycad.api.meta" href="kittycad.api.meta.html" />
|
||||
<link rel="prev" title="kittycad.api.internal" href="kittycad.api.internal.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
</head>
|
||||
|
||||
<body class="wy-body-for-nav">
|
||||
@ -31,7 +29,7 @@
|
||||
<a href="../index.html" class="icon icon-home"> kittycad
|
||||
</a>
|
||||
<div class="version">
|
||||
v0.0.6
|
||||
v0.0.7
|
||||
</div>
|
||||
<div role="search">
|
||||
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
|
||||
@ -41,19 +39,9 @@
|
||||
</form>
|
||||
</div>
|
||||
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
|
||||
<ul class="current">
|
||||
<li class="toctree-l1 current"><a class="reference internal" href="kittycad.api.html">kittycad.api</a><ul class="current">
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.beta.html">kittycad.api.beta</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.file.html">kittycad.api.file</a></li>
|
||||
<li class="toctree-l2 current"><a class="reference internal" href="kittycad.api.internal.html">kittycad.api.internal</a><ul class="current">
|
||||
<li class="toctree-l3 current"><a class="current reference internal" href="#">kittycad.api.internal.stop_async_conversions</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.meta.html">kittycad.api.meta</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.api.html">kittycad.api</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.client.html">kittycad.client</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.models.html">kittycad.models</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.types.html">kittycad.types</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
@ -75,8 +63,6 @@
|
||||
<div role="navigation" aria-label="Page navigation">
|
||||
<ul class="wy-breadcrumbs">
|
||||
<li><a href="../index.html" class="icon icon-home"></a> »</li>
|
||||
<li><a href="kittycad.api.html">kittycad.api</a> »</li>
|
||||
<li><a href="kittycad.api.internal.html">kittycad.api.internal</a> »</li>
|
||||
<li>kittycad.api.internal.stop_async_conversions</li>
|
||||
<li class="wy-breadcrumbs-aside">
|
||||
<a href="../_sources/modules/kittycad.api.internal.stop_async_conversions.rst.txt" rel="nofollow"> View page source</a>
|
||||
@ -87,48 +73,14 @@
|
||||
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
||||
<div itemprop="articleBody">
|
||||
|
||||
<section id="module-kittycad.api.internal.stop_async_conversions">
|
||||
<span id="kittycad-api-internal-stop-async-conversions"></span><h1>kittycad.api.internal.stop_async_conversions<a class="headerlink" href="#module-kittycad.api.internal.stop_async_conversions" title="Permalink to this headline"></a></h1>
|
||||
<p class="rubric">Functions</p>
|
||||
<table class="longtable docutils align-default">
|
||||
<colgroup>
|
||||
<col style="width: 10%" />
|
||||
<col style="width: 90%" />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">asyncio</span></code>(*, client)</p></td>
|
||||
<td><p>Stop all async conversions that are currently running.</p></td>
|
||||
</tr>
|
||||
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">asyncio_detailed</span></code>(*, client)</p></td>
|
||||
<td><p><dl class="field-list simple">
|
||||
<dt class="field-odd">rtype</dt>
|
||||
<dd class="field-odd"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">Response</span></code>[<a class="reference external" href="https://python.readthedocs.io/en/latest/library/typing.html#typing.Union" title="(in Python v3.7)"><code class="xref py py-data docutils literal notranslate"><span class="pre">Union</span></code></a>[<a class="reference external" href="https://python.readthedocs.io/en/latest/library/typing.html#typing.Any" title="(in Python v3.7)"><code class="xref py py-data docutils literal notranslate"><span class="pre">Any</span></code></a>, <code class="xref py py-class docutils literal notranslate"><span class="pre">FileConversion</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">ErrorMessage</span></code>]]</p>
|
||||
</dd>
|
||||
</dl>
|
||||
</p></td>
|
||||
</tr>
|
||||
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">sync</span></code>(*, client)</p></td>
|
||||
<td><p>Stop all async conversions that are currently running.</p></td>
|
||||
</tr>
|
||||
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">sync_detailed</span></code>(*, client)</p></td>
|
||||
<td><p><dl class="field-list simple">
|
||||
<dt class="field-odd">rtype</dt>
|
||||
<dd class="field-odd"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">Response</span></code>[<a class="reference external" href="https://python.readthedocs.io/en/latest/library/typing.html#typing.Union" title="(in Python v3.7)"><code class="xref py py-data docutils literal notranslate"><span class="pre">Union</span></code></a>[<a class="reference external" href="https://python.readthedocs.io/en/latest/library/typing.html#typing.Any" title="(in Python v3.7)"><code class="xref py py-data docutils literal notranslate"><span class="pre">Any</span></code></a>, <code class="xref py py-class docutils literal notranslate"><span class="pre">FileConversion</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">ErrorMessage</span></code>]]</p>
|
||||
</dd>
|
||||
</dl>
|
||||
</p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<section id="kittycad-api-internal-stop-async-conversions">
|
||||
<h1>kittycad.api.internal.stop_async_conversions<a class="headerlink" href="#kittycad-api-internal-stop-async-conversions" title="Permalink to this headline"></a></h1>
|
||||
</section>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
|
||||
<a href="kittycad.api.internal.html" class="btn btn-neutral float-left" title="kittycad.api.internal" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
|
||||
<a href="kittycad.api.meta.html" class="btn btn-neutral float-right" title="kittycad.api.meta" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
|
||||
</div>
|
||||
<footer>
|
||||
|
||||
<hr/>
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>kittycad.api.meta.auth_session — kittycad v0.0.6 documentation</title>
|
||||
<title>kittycad.api.meta.auth_session — kittycad v0.0.7 documentation</title>
|
||||
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/graphviz.css" type="text/css" />
|
||||
@ -18,9 +18,7 @@
|
||||
<script src="../_static/doctools.js"></script>
|
||||
<script src="../_static/js/theme.js"></script>
|
||||
<link rel="index" title="Index" href="../genindex.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
<link rel="next" title="kittycad.api.meta.instance_metadata" href="kittycad.api.meta.instance_metadata.html" />
|
||||
<link rel="prev" title="kittycad.api.meta" href="kittycad.api.meta.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
</head>
|
||||
|
||||
<body class="wy-body-for-nav">
|
||||
@ -31,7 +29,7 @@
|
||||
<a href="../index.html" class="icon icon-home"> kittycad
|
||||
</a>
|
||||
<div class="version">
|
||||
v0.0.6
|
||||
v0.0.7
|
||||
</div>
|
||||
<div role="search">
|
||||
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
|
||||
@ -41,21 +39,9 @@
|
||||
</form>
|
||||
</div>
|
||||
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
|
||||
<ul class="current">
|
||||
<li class="toctree-l1 current"><a class="reference internal" href="kittycad.api.html">kittycad.api</a><ul class="current">
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.beta.html">kittycad.api.beta</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.file.html">kittycad.api.file</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.internal.html">kittycad.api.internal</a></li>
|
||||
<li class="toctree-l2 current"><a class="reference internal" href="kittycad.api.meta.html">kittycad.api.meta</a><ul class="current">
|
||||
<li class="toctree-l3 current"><a class="current reference internal" href="#">kittycad.api.meta.auth_session</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="kittycad.api.meta.instance_metadata.html">kittycad.api.meta.instance_metadata</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="kittycad.api.meta.ping.html">kittycad.api.meta.ping</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.api.html">kittycad.api</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.client.html">kittycad.client</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.models.html">kittycad.models</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.types.html">kittycad.types</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
@ -77,8 +63,6 @@
|
||||
<div role="navigation" aria-label="Page navigation">
|
||||
<ul class="wy-breadcrumbs">
|
||||
<li><a href="../index.html" class="icon icon-home"></a> »</li>
|
||||
<li><a href="kittycad.api.html">kittycad.api</a> »</li>
|
||||
<li><a href="kittycad.api.meta.html">kittycad.api.meta</a> »</li>
|
||||
<li>kittycad.api.meta.auth_session</li>
|
||||
<li class="wy-breadcrumbs-aside">
|
||||
<a href="../_sources/modules/kittycad.api.meta.auth_session.rst.txt" rel="nofollow"> View page source</a>
|
||||
@ -89,48 +73,14 @@
|
||||
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
||||
<div itemprop="articleBody">
|
||||
|
||||
<section id="module-kittycad.api.meta.auth_session">
|
||||
<span id="kittycad-api-meta-auth-session"></span><h1>kittycad.api.meta.auth_session<a class="headerlink" href="#module-kittycad.api.meta.auth_session" title="Permalink to this headline"></a></h1>
|
||||
<p class="rubric">Functions</p>
|
||||
<table class="longtable docutils align-default">
|
||||
<colgroup>
|
||||
<col style="width: 10%" />
|
||||
<col style="width: 90%" />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">asyncio</span></code>(*, client)</p></td>
|
||||
<td><p>Get information about your API request session.</p></td>
|
||||
</tr>
|
||||
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">asyncio_detailed</span></code>(*, client)</p></td>
|
||||
<td><p><dl class="field-list simple">
|
||||
<dt class="field-odd">rtype</dt>
|
||||
<dd class="field-odd"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">Response</span></code>[<a class="reference external" href="https://python.readthedocs.io/en/latest/library/typing.html#typing.Union" title="(in Python v3.7)"><code class="xref py py-data docutils literal notranslate"><span class="pre">Union</span></code></a>[<a class="reference external" href="https://python.readthedocs.io/en/latest/library/typing.html#typing.Any" title="(in Python v3.7)"><code class="xref py py-data docutils literal notranslate"><span class="pre">Any</span></code></a>, <code class="xref py py-class docutils literal notranslate"><span class="pre">AuthSession</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">ErrorMessage</span></code>]]</p>
|
||||
</dd>
|
||||
</dl>
|
||||
</p></td>
|
||||
</tr>
|
||||
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">sync</span></code>(*, client)</p></td>
|
||||
<td><p>Get information about your API request session.</p></td>
|
||||
</tr>
|
||||
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">sync_detailed</span></code>(*, client)</p></td>
|
||||
<td><p><dl class="field-list simple">
|
||||
<dt class="field-odd">rtype</dt>
|
||||
<dd class="field-odd"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">Response</span></code>[<a class="reference external" href="https://python.readthedocs.io/en/latest/library/typing.html#typing.Union" title="(in Python v3.7)"><code class="xref py py-data docutils literal notranslate"><span class="pre">Union</span></code></a>[<a class="reference external" href="https://python.readthedocs.io/en/latest/library/typing.html#typing.Any" title="(in Python v3.7)"><code class="xref py py-data docutils literal notranslate"><span class="pre">Any</span></code></a>, <code class="xref py py-class docutils literal notranslate"><span class="pre">AuthSession</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">ErrorMessage</span></code>]]</p>
|
||||
</dd>
|
||||
</dl>
|
||||
</p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<section id="kittycad-api-meta-auth-session">
|
||||
<h1>kittycad.api.meta.auth_session<a class="headerlink" href="#kittycad-api-meta-auth-session" title="Permalink to this headline"></a></h1>
|
||||
</section>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
|
||||
<a href="kittycad.api.meta.html" class="btn btn-neutral float-left" title="kittycad.api.meta" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
|
||||
<a href="kittycad.api.meta.instance_metadata.html" class="btn btn-neutral float-right" title="kittycad.api.meta.instance_metadata" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
|
||||
</div>
|
||||
<footer>
|
||||
|
||||
<hr/>
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>kittycad.api.meta — kittycad v0.0.6 documentation</title>
|
||||
<title>kittycad.api.meta — kittycad v0.0.7 documentation</title>
|
||||
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/graphviz.css" type="text/css" />
|
||||
@ -19,8 +19,8 @@
|
||||
<script src="../_static/js/theme.js"></script>
|
||||
<link rel="index" title="Index" href="../genindex.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
<link rel="next" title="kittycad.api.meta.auth_session" href="kittycad.api.meta.auth_session.html" />
|
||||
<link rel="prev" title="kittycad.api.internal.stop_async_conversions" href="kittycad.api.internal.stop_async_conversions.html" />
|
||||
<link rel="next" title="kittycad.api.users" href="kittycad.api.users.html" />
|
||||
<link rel="prev" title="kittycad.api.internal" href="kittycad.api.internal.html" />
|
||||
</head>
|
||||
|
||||
<body class="wy-body-for-nav">
|
||||
@ -31,7 +31,7 @@
|
||||
<a href="../index.html" class="icon icon-home"> kittycad
|
||||
</a>
|
||||
<div class="version">
|
||||
v0.0.6
|
||||
v0.0.7
|
||||
</div>
|
||||
<div role="search">
|
||||
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
|
||||
@ -46,16 +46,11 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.beta.html">kittycad.api.beta</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.file.html">kittycad.api.file</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.internal.html">kittycad.api.internal</a></li>
|
||||
<li class="toctree-l2 current"><a class="current reference internal" href="#">kittycad.api.meta</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="kittycad.api.meta.auth_session.html">kittycad.api.meta.auth_session</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="kittycad.api.meta.instance_metadata.html">kittycad.api.meta.instance_metadata</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="kittycad.api.meta.ping.html">kittycad.api.meta.ping</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2 current"><a class="current reference internal" href="#">kittycad.api.meta</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.users.html">kittycad.api.users</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.client.html">kittycad.client</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.models.html">kittycad.models</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.types.html">kittycad.types</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
@ -90,7 +85,7 @@
|
||||
|
||||
<section id="module-kittycad.api.meta">
|
||||
<span id="kittycad-api-meta"></span><h1>kittycad.api.meta<a class="headerlink" href="#module-kittycad.api.meta" title="Permalink to this headline"></a></h1>
|
||||
<p>Contains methods for accessing the meta API paths: Meta information about servers, instances, and sessions.</p>
|
||||
<p>Contains methods for accessing the meta API paths: Meta information about the API.</p>
|
||||
<p class="rubric">Modules</p>
|
||||
<table class="longtable docutils align-default">
|
||||
<colgroup>
|
||||
@ -98,15 +93,6 @@
|
||||
<col style="width: 90%" />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr class="row-odd"><td><p><a class="reference internal" href="kittycad.api.meta.auth_session.html#module-kittycad.api.meta.auth_session" title="kittycad.api.meta.auth_session"><code class="xref py py-obj docutils literal notranslate"><span class="pre">kittycad.api.meta.auth_session</span></code></a></p></td>
|
||||
<td><p></p></td>
|
||||
</tr>
|
||||
<tr class="row-even"><td><p><a class="reference internal" href="kittycad.api.meta.instance_metadata.html#module-kittycad.api.meta.instance_metadata" title="kittycad.api.meta.instance_metadata"><code class="xref py py-obj docutils literal notranslate"><span class="pre">kittycad.api.meta.instance_metadata</span></code></a></p></td>
|
||||
<td><p></p></td>
|
||||
</tr>
|
||||
<tr class="row-odd"><td><p><a class="reference internal" href="kittycad.api.meta.ping.html#module-kittycad.api.meta.ping" title="kittycad.api.meta.ping"><code class="xref py py-obj docutils literal notranslate"><span class="pre">kittycad.api.meta.ping</span></code></a></p></td>
|
||||
<td><p></p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
@ -115,8 +101,8 @@
|
||||
</div>
|
||||
</div>
|
||||
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
|
||||
<a href="kittycad.api.internal.stop_async_conversions.html" class="btn btn-neutral float-left" title="kittycad.api.internal.stop_async_conversions" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
|
||||
<a href="kittycad.api.meta.auth_session.html" class="btn btn-neutral float-right" title="kittycad.api.meta.auth_session" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
|
||||
<a href="kittycad.api.internal.html" class="btn btn-neutral float-left" title="kittycad.api.internal" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
|
||||
<a href="kittycad.api.users.html" class="btn btn-neutral float-right" title="kittycad.api.users" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
|
||||
</div>
|
||||
|
||||
<hr/>
|
||||
|
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>kittycad.api.meta.instance_metadata — kittycad v0.0.6 documentation</title>
|
||||
<title>kittycad.api.meta.instance_metadata — kittycad v0.0.7 documentation</title>
|
||||
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/graphviz.css" type="text/css" />
|
||||
@ -18,9 +18,7 @@
|
||||
<script src="../_static/doctools.js"></script>
|
||||
<script src="../_static/js/theme.js"></script>
|
||||
<link rel="index" title="Index" href="../genindex.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
<link rel="next" title="kittycad.api.meta.ping" href="kittycad.api.meta.ping.html" />
|
||||
<link rel="prev" title="kittycad.api.meta.auth_session" href="kittycad.api.meta.auth_session.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
</head>
|
||||
|
||||
<body class="wy-body-for-nav">
|
||||
@ -31,7 +29,7 @@
|
||||
<a href="../index.html" class="icon icon-home"> kittycad
|
||||
</a>
|
||||
<div class="version">
|
||||
v0.0.6
|
||||
v0.0.7
|
||||
</div>
|
||||
<div role="search">
|
||||
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
|
||||
@ -41,21 +39,9 @@
|
||||
</form>
|
||||
</div>
|
||||
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
|
||||
<ul class="current">
|
||||
<li class="toctree-l1 current"><a class="reference internal" href="kittycad.api.html">kittycad.api</a><ul class="current">
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.beta.html">kittycad.api.beta</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.file.html">kittycad.api.file</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.internal.html">kittycad.api.internal</a></li>
|
||||
<li class="toctree-l2 current"><a class="reference internal" href="kittycad.api.meta.html">kittycad.api.meta</a><ul class="current">
|
||||
<li class="toctree-l3"><a class="reference internal" href="kittycad.api.meta.auth_session.html">kittycad.api.meta.auth_session</a></li>
|
||||
<li class="toctree-l3 current"><a class="current reference internal" href="#">kittycad.api.meta.instance_metadata</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="kittycad.api.meta.ping.html">kittycad.api.meta.ping</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.api.html">kittycad.api</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.client.html">kittycad.client</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.models.html">kittycad.models</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.types.html">kittycad.types</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
@ -77,8 +63,6 @@
|
||||
<div role="navigation" aria-label="Page navigation">
|
||||
<ul class="wy-breadcrumbs">
|
||||
<li><a href="../index.html" class="icon icon-home"></a> »</li>
|
||||
<li><a href="kittycad.api.html">kittycad.api</a> »</li>
|
||||
<li><a href="kittycad.api.meta.html">kittycad.api.meta</a> »</li>
|
||||
<li>kittycad.api.meta.instance_metadata</li>
|
||||
<li class="wy-breadcrumbs-aside">
|
||||
<a href="../_sources/modules/kittycad.api.meta.instance_metadata.rst.txt" rel="nofollow"> View page source</a>
|
||||
@ -89,48 +73,14 @@
|
||||
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
||||
<div itemprop="articleBody">
|
||||
|
||||
<section id="module-kittycad.api.meta.instance_metadata">
|
||||
<span id="kittycad-api-meta-instance-metadata"></span><h1>kittycad.api.meta.instance_metadata<a class="headerlink" href="#module-kittycad.api.meta.instance_metadata" title="Permalink to this headline"></a></h1>
|
||||
<p class="rubric">Functions</p>
|
||||
<table class="longtable docutils align-default">
|
||||
<colgroup>
|
||||
<col style="width: 10%" />
|
||||
<col style="width: 90%" />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">asyncio</span></code>(*, client)</p></td>
|
||||
<td><p>Get information about this specific API server instance.</p></td>
|
||||
</tr>
|
||||
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">asyncio_detailed</span></code>(*, client)</p></td>
|
||||
<td><p><dl class="field-list simple">
|
||||
<dt class="field-odd">rtype</dt>
|
||||
<dd class="field-odd"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">Response</span></code>[<a class="reference external" href="https://python.readthedocs.io/en/latest/library/typing.html#typing.Union" title="(in Python v3.7)"><code class="xref py py-data docutils literal notranslate"><span class="pre">Union</span></code></a>[<a class="reference external" href="https://python.readthedocs.io/en/latest/library/typing.html#typing.Any" title="(in Python v3.7)"><code class="xref py py-data docutils literal notranslate"><span class="pre">Any</span></code></a>, <code class="xref py py-class docutils literal notranslate"><span class="pre">Instance</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">ErrorMessage</span></code>]]</p>
|
||||
</dd>
|
||||
</dl>
|
||||
</p></td>
|
||||
</tr>
|
||||
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">sync</span></code>(*, client)</p></td>
|
||||
<td><p>Get information about this specific API server instance.</p></td>
|
||||
</tr>
|
||||
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">sync_detailed</span></code>(*, client)</p></td>
|
||||
<td><p><dl class="field-list simple">
|
||||
<dt class="field-odd">rtype</dt>
|
||||
<dd class="field-odd"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">Response</span></code>[<a class="reference external" href="https://python.readthedocs.io/en/latest/library/typing.html#typing.Union" title="(in Python v3.7)"><code class="xref py py-data docutils literal notranslate"><span class="pre">Union</span></code></a>[<a class="reference external" href="https://python.readthedocs.io/en/latest/library/typing.html#typing.Any" title="(in Python v3.7)"><code class="xref py py-data docutils literal notranslate"><span class="pre">Any</span></code></a>, <code class="xref py py-class docutils literal notranslate"><span class="pre">Instance</span></code>, <code class="xref py py-class docutils literal notranslate"><span class="pre">ErrorMessage</span></code>]]</p>
|
||||
</dd>
|
||||
</dl>
|
||||
</p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<section id="kittycad-api-meta-instance-metadata">
|
||||
<h1>kittycad.api.meta.instance_metadata<a class="headerlink" href="#kittycad-api-meta-instance-metadata" title="Permalink to this headline"></a></h1>
|
||||
</section>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
|
||||
<a href="kittycad.api.meta.auth_session.html" class="btn btn-neutral float-left" title="kittycad.api.meta.auth_session" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
|
||||
<a href="kittycad.api.meta.ping.html" class="btn btn-neutral float-right" title="kittycad.api.meta.ping" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
|
||||
</div>
|
||||
<footer>
|
||||
|
||||
<hr/>
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>kittycad.api.meta.ping — kittycad v0.0.6 documentation</title>
|
||||
<title>kittycad.api.meta.ping — kittycad v0.0.7 documentation</title>
|
||||
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/graphviz.css" type="text/css" />
|
||||
@ -18,9 +18,7 @@
|
||||
<script src="../_static/doctools.js"></script>
|
||||
<script src="../_static/js/theme.js"></script>
|
||||
<link rel="index" title="Index" href="../genindex.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
<link rel="next" title="kittycad.client" href="kittycad.client.html" />
|
||||
<link rel="prev" title="kittycad.api.meta.instance_metadata" href="kittycad.api.meta.instance_metadata.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
</head>
|
||||
|
||||
<body class="wy-body-for-nav">
|
||||
@ -31,7 +29,7 @@
|
||||
<a href="../index.html" class="icon icon-home"> kittycad
|
||||
</a>
|
||||
<div class="version">
|
||||
v0.0.6
|
||||
v0.0.7
|
||||
</div>
|
||||
<div role="search">
|
||||
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
|
||||
@ -41,21 +39,9 @@
|
||||
</form>
|
||||
</div>
|
||||
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
|
||||
<ul class="current">
|
||||
<li class="toctree-l1 current"><a class="reference internal" href="kittycad.api.html">kittycad.api</a><ul class="current">
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.beta.html">kittycad.api.beta</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.file.html">kittycad.api.file</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.internal.html">kittycad.api.internal</a></li>
|
||||
<li class="toctree-l2 current"><a class="reference internal" href="kittycad.api.meta.html">kittycad.api.meta</a><ul class="current">
|
||||
<li class="toctree-l3"><a class="reference internal" href="kittycad.api.meta.auth_session.html">kittycad.api.meta.auth_session</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="kittycad.api.meta.instance_metadata.html">kittycad.api.meta.instance_metadata</a></li>
|
||||
<li class="toctree-l3 current"><a class="current reference internal" href="#">kittycad.api.meta.ping</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.api.html">kittycad.api</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.client.html">kittycad.client</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.models.html">kittycad.models</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.types.html">kittycad.types</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
@ -77,8 +63,6 @@
|
||||
<div role="navigation" aria-label="Page navigation">
|
||||
<ul class="wy-breadcrumbs">
|
||||
<li><a href="../index.html" class="icon icon-home"></a> »</li>
|
||||
<li><a href="kittycad.api.html">kittycad.api</a> »</li>
|
||||
<li><a href="kittycad.api.meta.html">kittycad.api.meta</a> »</li>
|
||||
<li>kittycad.api.meta.ping</li>
|
||||
<li class="wy-breadcrumbs-aside">
|
||||
<a href="../_sources/modules/kittycad.api.meta.ping.rst.txt" rel="nofollow"> View page source</a>
|
||||
@ -89,48 +73,14 @@
|
||||
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
||||
<div itemprop="articleBody">
|
||||
|
||||
<section id="module-kittycad.api.meta.ping">
|
||||
<span id="kittycad-api-meta-ping"></span><h1>kittycad.api.meta.ping<a class="headerlink" href="#module-kittycad.api.meta.ping" title="Permalink to this headline"></a></h1>
|
||||
<p class="rubric">Functions</p>
|
||||
<table class="longtable docutils align-default">
|
||||
<colgroup>
|
||||
<col style="width: 10%" />
|
||||
<col style="width: 90%" />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">asyncio</span></code>(*, client)</p></td>
|
||||
<td><p>Simple ping to the server.</p></td>
|
||||
</tr>
|
||||
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">asyncio_detailed</span></code>(*, client)</p></td>
|
||||
<td><p><dl class="field-list simple">
|
||||
<dt class="field-odd">rtype</dt>
|
||||
<dd class="field-odd"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">Response</span></code>[<a class="reference external" href="https://python.readthedocs.io/en/latest/library/typing.html#typing.Union" title="(in Python v3.7)"><code class="xref py py-data docutils literal notranslate"><span class="pre">Union</span></code></a>[<a class="reference external" href="https://python.readthedocs.io/en/latest/library/typing.html#typing.Any" title="(in Python v3.7)"><code class="xref py py-data docutils literal notranslate"><span class="pre">Any</span></code></a>, <code class="xref py py-class docutils literal notranslate"><span class="pre">PongMessage</span></code>]]</p>
|
||||
</dd>
|
||||
</dl>
|
||||
</p></td>
|
||||
</tr>
|
||||
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">sync</span></code>(*, client)</p></td>
|
||||
<td><p>Simple ping to the server.</p></td>
|
||||
</tr>
|
||||
<tr class="row-even"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">sync_detailed</span></code>(*, client)</p></td>
|
||||
<td><p><dl class="field-list simple">
|
||||
<dt class="field-odd">rtype</dt>
|
||||
<dd class="field-odd"><p><code class="xref py py-class docutils literal notranslate"><span class="pre">Response</span></code>[<a class="reference external" href="https://python.readthedocs.io/en/latest/library/typing.html#typing.Union" title="(in Python v3.7)"><code class="xref py py-data docutils literal notranslate"><span class="pre">Union</span></code></a>[<a class="reference external" href="https://python.readthedocs.io/en/latest/library/typing.html#typing.Any" title="(in Python v3.7)"><code class="xref py py-data docutils literal notranslate"><span class="pre">Any</span></code></a>, <code class="xref py py-class docutils literal notranslate"><span class="pre">PongMessage</span></code>]]</p>
|
||||
</dd>
|
||||
</dl>
|
||||
</p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<section id="kittycad-api-meta-ping">
|
||||
<h1>kittycad.api.meta.ping<a class="headerlink" href="#kittycad-api-meta-ping" title="Permalink to this headline"></a></h1>
|
||||
</section>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
|
||||
<a href="kittycad.api.meta.instance_metadata.html" class="btn btn-neutral float-left" title="kittycad.api.meta.instance_metadata" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
|
||||
<a href="kittycad.client.html" class="btn btn-neutral float-right" title="kittycad.client" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
|
||||
</div>
|
||||
<footer>
|
||||
|
||||
<hr/>
|
||||
|
||||
|
131
docs/html/modules/kittycad.api.users.html
Normal file
131
docs/html/modules/kittycad.api.users.html
Normal file
@ -0,0 +1,131 @@
|
||||
<!DOCTYPE html>
|
||||
<html class="writer-html5" lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>kittycad.api.users — kittycad v0.0.7 documentation</title>
|
||||
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/graphviz.css" type="text/css" />
|
||||
<!--[if lt IE 9]>
|
||||
<script src="../_static/js/html5shiv.min.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
<script data-url_root="../" id="documentation_options" src="../_static/documentation_options.js"></script>
|
||||
<script src="../_static/jquery.js"></script>
|
||||
<script src="../_static/underscore.js"></script>
|
||||
<script src="../_static/doctools.js"></script>
|
||||
<script src="../_static/js/theme.js"></script>
|
||||
<link rel="index" title="Index" href="../genindex.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
<link rel="next" title="kittycad.client" href="kittycad.client.html" />
|
||||
<link rel="prev" title="kittycad.api.meta" href="kittycad.api.meta.html" />
|
||||
</head>
|
||||
|
||||
<body class="wy-body-for-nav">
|
||||
<div class="wy-grid-for-nav">
|
||||
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
|
||||
<div class="wy-side-scroll">
|
||||
<div class="wy-side-nav-search" >
|
||||
<a href="../index.html" class="icon icon-home"> kittycad
|
||||
</a>
|
||||
<div class="version">
|
||||
v0.0.7
|
||||
</div>
|
||||
<div role="search">
|
||||
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
|
||||
<input type="text" name="q" placeholder="Search docs" />
|
||||
<input type="hidden" name="check_keywords" value="yes" />
|
||||
<input type="hidden" name="area" value="default" />
|
||||
</form>
|
||||
</div>
|
||||
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
|
||||
<ul class="current">
|
||||
<li class="toctree-l1 current"><a class="reference internal" href="kittycad.api.html">kittycad.api</a><ul class="current">
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.beta.html">kittycad.api.beta</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.file.html">kittycad.api.file</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.internal.html">kittycad.api.internal</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.api.meta.html">kittycad.api.meta</a></li>
|
||||
<li class="toctree-l2 current"><a class="current reference internal" href="#">kittycad.api.users</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.client.html">kittycad.client</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.types.html">kittycad.types</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../api/kittycad.Client.html">Client</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="../api/kittycad.ClientFromEnv.html">ClientFromEnv</a></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
|
||||
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
|
||||
<a href="../index.html">kittycad</a>
|
||||
</nav>
|
||||
|
||||
<div class="wy-nav-content">
|
||||
<div class="rst-content">
|
||||
<div role="navigation" aria-label="Page navigation">
|
||||
<ul class="wy-breadcrumbs">
|
||||
<li><a href="../index.html" class="icon icon-home"></a> »</li>
|
||||
<li><a href="kittycad.api.html">kittycad.api</a> »</li>
|
||||
<li>kittycad.api.users</li>
|
||||
<li class="wy-breadcrumbs-aside">
|
||||
<a href="../_sources/modules/kittycad.api.users.rst.txt" rel="nofollow"> View page source</a>
|
||||
</li>
|
||||
</ul>
|
||||
<hr/>
|
||||
</div>
|
||||
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
||||
<div itemprop="articleBody">
|
||||
|
||||
<section id="module-kittycad.api.users">
|
||||
<span id="kittycad-api-users"></span><h1>kittycad.api.users<a class="headerlink" href="#module-kittycad.api.users" title="Permalink to this headline"></a></h1>
|
||||
<p>Contains methods for accessing the users API paths: A user is someone who uses the KittyCAD API. Here, we can create, delete, and list users. We can also get information about a user. Operations will only be authorized if the user is requesting information about themselves.</p>
|
||||
<p class="rubric">Modules</p>
|
||||
<table class="longtable docutils align-default">
|
||||
<colgroup>
|
||||
<col style="width: 10%" />
|
||||
<col style="width: 90%" />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
|
||||
<a href="kittycad.api.meta.html" class="btn btn-neutral float-left" title="kittycad.api.meta" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
|
||||
<a href="kittycad.client.html" class="btn btn-neutral float-right" title="kittycad.client" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
|
||||
</div>
|
||||
|
||||
<hr/>
|
||||
|
||||
<div role="contentinfo">
|
||||
<p>© Copyright KittyCAD Team Members.</p>
|
||||
</div>
|
||||
|
||||
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
|
||||
<a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
|
||||
provided by <a href="https://readthedocs.org">Read the Docs</a>.
|
||||
|
||||
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
<script>
|
||||
jQuery(function () {
|
||||
SphinxRtdTheme.Navigation.enable(true);
|
||||
});
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>kittycad.client — kittycad v0.0.6 documentation</title>
|
||||
<title>kittycad.client — kittycad v0.0.7 documentation</title>
|
||||
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/graphviz.css" type="text/css" />
|
||||
@ -19,8 +19,8 @@
|
||||
<script src="../_static/js/theme.js"></script>
|
||||
<link rel="index" title="Index" href="../genindex.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
<link rel="next" title="kittycad.models" href="kittycad.models.html" />
|
||||
<link rel="prev" title="kittycad.api.meta.ping" href="kittycad.api.meta.ping.html" />
|
||||
<link rel="next" title="kittycad.types" href="kittycad.types.html" />
|
||||
<link rel="prev" title="kittycad.api.users" href="kittycad.api.users.html" />
|
||||
</head>
|
||||
|
||||
<body class="wy-body-for-nav">
|
||||
@ -31,7 +31,7 @@
|
||||
<a href="../index.html" class="icon icon-home"> kittycad
|
||||
</a>
|
||||
<div class="version">
|
||||
v0.0.6
|
||||
v0.0.7
|
||||
</div>
|
||||
<div role="search">
|
||||
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
|
||||
@ -44,7 +44,6 @@
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.api.html">kittycad.api</a></li>
|
||||
<li class="toctree-l1 current"><a class="current reference internal" href="#">kittycad.client</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.models.html">kittycad.models</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.types.html">kittycad.types</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
@ -99,8 +98,8 @@
|
||||
</div>
|
||||
</div>
|
||||
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
|
||||
<a href="kittycad.api.meta.ping.html" class="btn btn-neutral float-left" title="kittycad.api.meta.ping" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
|
||||
<a href="kittycad.models.html" class="btn btn-neutral float-right" title="kittycad.models" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
|
||||
<a href="kittycad.api.users.html" class="btn btn-neutral float-left" title="kittycad.api.users" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
|
||||
<a href="kittycad.types.html" class="btn btn-neutral float-right" title="kittycad.types" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
|
||||
</div>
|
||||
|
||||
<hr/>
|
||||
|
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>kittycad.models.auth_session — kittycad v0.0.6 documentation</title>
|
||||
<title>kittycad.models.auth_session — kittycad v0.0.7 documentation</title>
|
||||
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/graphviz.css" type="text/css" />
|
||||
@ -18,9 +18,7 @@
|
||||
<script src="../_static/doctools.js"></script>
|
||||
<script src="../_static/js/theme.js"></script>
|
||||
<link rel="index" title="Index" href="../genindex.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
<link rel="next" title="kittycad.models.error_message" href="kittycad.models.error_message.html" />
|
||||
<link rel="prev" title="kittycad.models" href="kittycad.models.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
</head>
|
||||
|
||||
<body class="wy-body-for-nav">
|
||||
@ -31,7 +29,7 @@
|
||||
<a href="../index.html" class="icon icon-home"> kittycad
|
||||
</a>
|
||||
<div class="version">
|
||||
v0.0.6
|
||||
v0.0.7
|
||||
</div>
|
||||
<div role="search">
|
||||
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
|
||||
@ -41,23 +39,9 @@
|
||||
</form>
|
||||
</div>
|
||||
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
|
||||
<ul class="current">
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.api.html">kittycad.api</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.client.html">kittycad.client</a></li>
|
||||
<li class="toctree-l1 current"><a class="reference internal" href="kittycad.models.html">kittycad.models</a><ul class="current">
|
||||
<li class="toctree-l2 current"><a class="current reference internal" href="#">kittycad.models.auth_session</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.error_message.html">kittycad.models.error_message</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.file_conversion.html">kittycad.models.file_conversion</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.file_conversion_status.html">kittycad.models.file_conversion_status</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.gpu_device.html">kittycad.models.gpu_device</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.instance.html">kittycad.models.instance</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.pong_enum.html">kittycad.models.pong_enum</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.pong_message.html">kittycad.models.pong_message</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.server_env.html">kittycad.models.server_env</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.valid_output_file_format.html">kittycad.models.valid_output_file_format</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.valid_source_file_format.html">kittycad.models.valid_source_file_format</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.types.html">kittycad.types</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
@ -79,7 +63,6 @@
|
||||
<div role="navigation" aria-label="Page navigation">
|
||||
<ul class="wy-breadcrumbs">
|
||||
<li><a href="../index.html" class="icon icon-home"></a> »</li>
|
||||
<li><a href="kittycad.models.html">kittycad.models</a> »</li>
|
||||
<li>kittycad.models.auth_session</li>
|
||||
<li class="wy-breadcrumbs-aside">
|
||||
<a href="../_sources/modules/kittycad.models.auth_session.rst.txt" rel="nofollow"> View page source</a>
|
||||
@ -90,29 +73,14 @@
|
||||
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
||||
<div itemprop="articleBody">
|
||||
|
||||
<section id="module-kittycad.models.auth_session">
|
||||
<span id="kittycad-models-auth-session"></span><h1>kittycad.models.auth_session<a class="headerlink" href="#module-kittycad.models.auth_session" title="Permalink to this headline"></a></h1>
|
||||
<p class="rubric">Classes</p>
|
||||
<table class="longtable docutils align-default">
|
||||
<colgroup>
|
||||
<col style="width: 10%" />
|
||||
<col style="width: 90%" />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">AuthSession</span></code>([created_at, email, id, image, ...])</p></td>
|
||||
<td><p></p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<section id="kittycad-models-auth-session">
|
||||
<h1>kittycad.models.auth_session<a class="headerlink" href="#kittycad-models-auth-session" title="Permalink to this headline"></a></h1>
|
||||
</section>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
|
||||
<a href="kittycad.models.html" class="btn btn-neutral float-left" title="kittycad.models" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
|
||||
<a href="kittycad.models.error_message.html" class="btn btn-neutral float-right" title="kittycad.models.error_message" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
|
||||
</div>
|
||||
<footer>
|
||||
|
||||
<hr/>
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>kittycad.models.error_message — kittycad v0.0.6 documentation</title>
|
||||
<title>kittycad.models.error_message — kittycad v0.0.7 documentation</title>
|
||||
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/graphviz.css" type="text/css" />
|
||||
@ -18,9 +18,7 @@
|
||||
<script src="../_static/doctools.js"></script>
|
||||
<script src="../_static/js/theme.js"></script>
|
||||
<link rel="index" title="Index" href="../genindex.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
<link rel="next" title="kittycad.models.file_conversion" href="kittycad.models.file_conversion.html" />
|
||||
<link rel="prev" title="kittycad.models.auth_session" href="kittycad.models.auth_session.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
</head>
|
||||
|
||||
<body class="wy-body-for-nav">
|
||||
@ -31,7 +29,7 @@
|
||||
<a href="../index.html" class="icon icon-home"> kittycad
|
||||
</a>
|
||||
<div class="version">
|
||||
v0.0.6
|
||||
v0.0.7
|
||||
</div>
|
||||
<div role="search">
|
||||
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
|
||||
@ -41,23 +39,9 @@
|
||||
</form>
|
||||
</div>
|
||||
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
|
||||
<ul class="current">
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.api.html">kittycad.api</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.client.html">kittycad.client</a></li>
|
||||
<li class="toctree-l1 current"><a class="reference internal" href="kittycad.models.html">kittycad.models</a><ul class="current">
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.auth_session.html">kittycad.models.auth_session</a></li>
|
||||
<li class="toctree-l2 current"><a class="current reference internal" href="#">kittycad.models.error_message</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.file_conversion.html">kittycad.models.file_conversion</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.file_conversion_status.html">kittycad.models.file_conversion_status</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.gpu_device.html">kittycad.models.gpu_device</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.instance.html">kittycad.models.instance</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.pong_enum.html">kittycad.models.pong_enum</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.pong_message.html">kittycad.models.pong_message</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.server_env.html">kittycad.models.server_env</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.valid_output_file_format.html">kittycad.models.valid_output_file_format</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.valid_source_file_format.html">kittycad.models.valid_source_file_format</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.types.html">kittycad.types</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
@ -79,7 +63,6 @@
|
||||
<div role="navigation" aria-label="Page navigation">
|
||||
<ul class="wy-breadcrumbs">
|
||||
<li><a href="../index.html" class="icon icon-home"></a> »</li>
|
||||
<li><a href="kittycad.models.html">kittycad.models</a> »</li>
|
||||
<li>kittycad.models.error_message</li>
|
||||
<li class="wy-breadcrumbs-aside">
|
||||
<a href="../_sources/modules/kittycad.models.error_message.rst.txt" rel="nofollow"> View page source</a>
|
||||
@ -90,29 +73,14 @@
|
||||
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
||||
<div itemprop="articleBody">
|
||||
|
||||
<section id="module-kittycad.models.error_message">
|
||||
<span id="kittycad-models-error-message"></span><h1>kittycad.models.error_message<a class="headerlink" href="#module-kittycad.models.error_message" title="Permalink to this headline"></a></h1>
|
||||
<p class="rubric">Classes</p>
|
||||
<table class="longtable docutils align-default">
|
||||
<colgroup>
|
||||
<col style="width: 10%" />
|
||||
<col style="width: 90%" />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">ErrorMessage</span></code>([code, message, status])</p></td>
|
||||
<td><p></p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<section id="kittycad-models-error-message">
|
||||
<h1>kittycad.models.error_message<a class="headerlink" href="#kittycad-models-error-message" title="Permalink to this headline"></a></h1>
|
||||
</section>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
|
||||
<a href="kittycad.models.auth_session.html" class="btn btn-neutral float-left" title="kittycad.models.auth_session" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
|
||||
<a href="kittycad.models.file_conversion.html" class="btn btn-neutral float-right" title="kittycad.models.file_conversion" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
|
||||
</div>
|
||||
<footer>
|
||||
|
||||
<hr/>
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>kittycad.models.file_conversion — kittycad v0.0.6 documentation</title>
|
||||
<title>kittycad.models.file_conversion — kittycad v0.0.7 documentation</title>
|
||||
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/graphviz.css" type="text/css" />
|
||||
@ -18,9 +18,7 @@
|
||||
<script src="../_static/doctools.js"></script>
|
||||
<script src="../_static/js/theme.js"></script>
|
||||
<link rel="index" title="Index" href="../genindex.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
<link rel="next" title="kittycad.models.file_conversion_status" href="kittycad.models.file_conversion_status.html" />
|
||||
<link rel="prev" title="kittycad.models.error_message" href="kittycad.models.error_message.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
</head>
|
||||
|
||||
<body class="wy-body-for-nav">
|
||||
@ -31,7 +29,7 @@
|
||||
<a href="../index.html" class="icon icon-home"> kittycad
|
||||
</a>
|
||||
<div class="version">
|
||||
v0.0.6
|
||||
v0.0.7
|
||||
</div>
|
||||
<div role="search">
|
||||
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
|
||||
@ -41,23 +39,9 @@
|
||||
</form>
|
||||
</div>
|
||||
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
|
||||
<ul class="current">
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.api.html">kittycad.api</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.client.html">kittycad.client</a></li>
|
||||
<li class="toctree-l1 current"><a class="reference internal" href="kittycad.models.html">kittycad.models</a><ul class="current">
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.auth_session.html">kittycad.models.auth_session</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.error_message.html">kittycad.models.error_message</a></li>
|
||||
<li class="toctree-l2 current"><a class="current reference internal" href="#">kittycad.models.file_conversion</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.file_conversion_status.html">kittycad.models.file_conversion_status</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.gpu_device.html">kittycad.models.gpu_device</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.instance.html">kittycad.models.instance</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.pong_enum.html">kittycad.models.pong_enum</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.pong_message.html">kittycad.models.pong_message</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.server_env.html">kittycad.models.server_env</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.valid_output_file_format.html">kittycad.models.valid_output_file_format</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.valid_source_file_format.html">kittycad.models.valid_source_file_format</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.types.html">kittycad.types</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
@ -79,7 +63,6 @@
|
||||
<div role="navigation" aria-label="Page navigation">
|
||||
<ul class="wy-breadcrumbs">
|
||||
<li><a href="../index.html" class="icon icon-home"></a> »</li>
|
||||
<li><a href="kittycad.models.html">kittycad.models</a> »</li>
|
||||
<li>kittycad.models.file_conversion</li>
|
||||
<li class="wy-breadcrumbs-aside">
|
||||
<a href="../_sources/modules/kittycad.models.file_conversion.rst.txt" rel="nofollow"> View page source</a>
|
||||
@ -90,29 +73,14 @@
|
||||
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
||||
<div itemprop="articleBody">
|
||||
|
||||
<section id="module-kittycad.models.file_conversion">
|
||||
<span id="kittycad-models-file-conversion"></span><h1>kittycad.models.file_conversion<a class="headerlink" href="#module-kittycad.models.file_conversion" title="Permalink to this headline"></a></h1>
|
||||
<p class="rubric">Classes</p>
|
||||
<table class="longtable docutils align-default">
|
||||
<colgroup>
|
||||
<col style="width: 10%" />
|
||||
<col style="width: 90%" />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">FileConversion</span></code>([completed_at, created_at, ...])</p></td>
|
||||
<td><p></p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<section id="kittycad-models-file-conversion">
|
||||
<h1>kittycad.models.file_conversion<a class="headerlink" href="#kittycad-models-file-conversion" title="Permalink to this headline"></a></h1>
|
||||
</section>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
|
||||
<a href="kittycad.models.error_message.html" class="btn btn-neutral float-left" title="kittycad.models.error_message" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
|
||||
<a href="kittycad.models.file_conversion_status.html" class="btn btn-neutral float-right" title="kittycad.models.file_conversion_status" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
|
||||
</div>
|
||||
<footer>
|
||||
|
||||
<hr/>
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>kittycad.models.file_conversion_status — kittycad v0.0.6 documentation</title>
|
||||
<title>kittycad.models.file_conversion_status — kittycad v0.0.7 documentation</title>
|
||||
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/graphviz.css" type="text/css" />
|
||||
@ -18,9 +18,7 @@
|
||||
<script src="../_static/doctools.js"></script>
|
||||
<script src="../_static/js/theme.js"></script>
|
||||
<link rel="index" title="Index" href="../genindex.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
<link rel="next" title="kittycad.models.gpu_device" href="kittycad.models.gpu_device.html" />
|
||||
<link rel="prev" title="kittycad.models.file_conversion" href="kittycad.models.file_conversion.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
</head>
|
||||
|
||||
<body class="wy-body-for-nav">
|
||||
@ -31,7 +29,7 @@
|
||||
<a href="../index.html" class="icon icon-home"> kittycad
|
||||
</a>
|
||||
<div class="version">
|
||||
v0.0.6
|
||||
v0.0.7
|
||||
</div>
|
||||
<div role="search">
|
||||
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
|
||||
@ -41,23 +39,9 @@
|
||||
</form>
|
||||
</div>
|
||||
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
|
||||
<ul class="current">
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.api.html">kittycad.api</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.client.html">kittycad.client</a></li>
|
||||
<li class="toctree-l1 current"><a class="reference internal" href="kittycad.models.html">kittycad.models</a><ul class="current">
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.auth_session.html">kittycad.models.auth_session</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.error_message.html">kittycad.models.error_message</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.file_conversion.html">kittycad.models.file_conversion</a></li>
|
||||
<li class="toctree-l2 current"><a class="current reference internal" href="#">kittycad.models.file_conversion_status</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.gpu_device.html">kittycad.models.gpu_device</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.instance.html">kittycad.models.instance</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.pong_enum.html">kittycad.models.pong_enum</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.pong_message.html">kittycad.models.pong_message</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.server_env.html">kittycad.models.server_env</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.valid_output_file_format.html">kittycad.models.valid_output_file_format</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.valid_source_file_format.html">kittycad.models.valid_source_file_format</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.types.html">kittycad.types</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
@ -79,7 +63,6 @@
|
||||
<div role="navigation" aria-label="Page navigation">
|
||||
<ul class="wy-breadcrumbs">
|
||||
<li><a href="../index.html" class="icon icon-home"></a> »</li>
|
||||
<li><a href="kittycad.models.html">kittycad.models</a> »</li>
|
||||
<li>kittycad.models.file_conversion_status</li>
|
||||
<li class="wy-breadcrumbs-aside">
|
||||
<a href="../_sources/modules/kittycad.models.file_conversion_status.rst.txt" rel="nofollow"> View page source</a>
|
||||
@ -90,29 +73,14 @@
|
||||
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
||||
<div itemprop="articleBody">
|
||||
|
||||
<section id="module-kittycad.models.file_conversion_status">
|
||||
<span id="kittycad-models-file-conversion-status"></span><h1>kittycad.models.file_conversion_status<a class="headerlink" href="#module-kittycad.models.file_conversion_status" title="Permalink to this headline"></a></h1>
|
||||
<p class="rubric">Classes</p>
|
||||
<table class="longtable docutils align-default">
|
||||
<colgroup>
|
||||
<col style="width: 10%" />
|
||||
<col style="width: 90%" />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">FileConversionStatus</span></code>(value)</p></td>
|
||||
<td><p>An enumeration.</p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<section id="kittycad-models-file-conversion-status">
|
||||
<h1>kittycad.models.file_conversion_status<a class="headerlink" href="#kittycad-models-file-conversion-status" title="Permalink to this headline"></a></h1>
|
||||
</section>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
|
||||
<a href="kittycad.models.file_conversion.html" class="btn btn-neutral float-left" title="kittycad.models.file_conversion" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
|
||||
<a href="kittycad.models.gpu_device.html" class="btn btn-neutral float-right" title="kittycad.models.gpu_device" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
|
||||
</div>
|
||||
<footer>
|
||||
|
||||
<hr/>
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>kittycad.models.gpu_device — kittycad v0.0.6 documentation</title>
|
||||
<title>kittycad.models.gpu_device — kittycad v0.0.7 documentation</title>
|
||||
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/graphviz.css" type="text/css" />
|
||||
@ -18,9 +18,7 @@
|
||||
<script src="../_static/doctools.js"></script>
|
||||
<script src="../_static/js/theme.js"></script>
|
||||
<link rel="index" title="Index" href="../genindex.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
<link rel="next" title="kittycad.models.instance" href="kittycad.models.instance.html" />
|
||||
<link rel="prev" title="kittycad.models.file_conversion_status" href="kittycad.models.file_conversion_status.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
</head>
|
||||
|
||||
<body class="wy-body-for-nav">
|
||||
@ -31,7 +29,7 @@
|
||||
<a href="../index.html" class="icon icon-home"> kittycad
|
||||
</a>
|
||||
<div class="version">
|
||||
v0.0.6
|
||||
v0.0.7
|
||||
</div>
|
||||
<div role="search">
|
||||
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
|
||||
@ -41,23 +39,9 @@
|
||||
</form>
|
||||
</div>
|
||||
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
|
||||
<ul class="current">
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.api.html">kittycad.api</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.client.html">kittycad.client</a></li>
|
||||
<li class="toctree-l1 current"><a class="reference internal" href="kittycad.models.html">kittycad.models</a><ul class="current">
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.auth_session.html">kittycad.models.auth_session</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.error_message.html">kittycad.models.error_message</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.file_conversion.html">kittycad.models.file_conversion</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.file_conversion_status.html">kittycad.models.file_conversion_status</a></li>
|
||||
<li class="toctree-l2 current"><a class="current reference internal" href="#">kittycad.models.gpu_device</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.instance.html">kittycad.models.instance</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.pong_enum.html">kittycad.models.pong_enum</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.pong_message.html">kittycad.models.pong_message</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.server_env.html">kittycad.models.server_env</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.valid_output_file_format.html">kittycad.models.valid_output_file_format</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.valid_source_file_format.html">kittycad.models.valid_source_file_format</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.types.html">kittycad.types</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
@ -79,7 +63,6 @@
|
||||
<div role="navigation" aria-label="Page navigation">
|
||||
<ul class="wy-breadcrumbs">
|
||||
<li><a href="../index.html" class="icon icon-home"></a> »</li>
|
||||
<li><a href="kittycad.models.html">kittycad.models</a> »</li>
|
||||
<li>kittycad.models.gpu_device</li>
|
||||
<li class="wy-breadcrumbs-aside">
|
||||
<a href="../_sources/modules/kittycad.models.gpu_device.rst.txt" rel="nofollow"> View page source</a>
|
||||
@ -90,29 +73,14 @@
|
||||
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
||||
<div itemprop="articleBody">
|
||||
|
||||
<section id="module-kittycad.models.gpu_device">
|
||||
<span id="kittycad-models-gpu-device"></span><h1>kittycad.models.gpu_device<a class="headerlink" href="#module-kittycad.models.gpu_device" title="Permalink to this headline"></a></h1>
|
||||
<p class="rubric">Classes</p>
|
||||
<table class="longtable docutils align-default">
|
||||
<colgroup>
|
||||
<col style="width: 10%" />
|
||||
<col style="width: 90%" />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">GPUDevice</span></code>([id, memory_bus_width, ...])</p></td>
|
||||
<td><p></p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<section id="kittycad-models-gpu-device">
|
||||
<h1>kittycad.models.gpu_device<a class="headerlink" href="#kittycad-models-gpu-device" title="Permalink to this headline"></a></h1>
|
||||
</section>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
|
||||
<a href="kittycad.models.file_conversion_status.html" class="btn btn-neutral float-left" title="kittycad.models.file_conversion_status" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
|
||||
<a href="kittycad.models.instance.html" class="btn btn-neutral float-right" title="kittycad.models.instance" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
|
||||
</div>
|
||||
<footer>
|
||||
|
||||
<hr/>
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>kittycad.models — kittycad v0.0.6 documentation</title>
|
||||
<title>kittycad.models — kittycad v0.0.7 documentation</title>
|
||||
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/graphviz.css" type="text/css" />
|
||||
@ -18,9 +18,7 @@
|
||||
<script src="../_static/doctools.js"></script>
|
||||
<script src="../_static/js/theme.js"></script>
|
||||
<link rel="index" title="Index" href="../genindex.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
<link rel="next" title="kittycad.models.auth_session" href="kittycad.models.auth_session.html" />
|
||||
<link rel="prev" title="kittycad.client" href="kittycad.client.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
</head>
|
||||
|
||||
<body class="wy-body-for-nav">
|
||||
@ -31,7 +29,7 @@
|
||||
<a href="../index.html" class="icon icon-home"> kittycad
|
||||
</a>
|
||||
<div class="version">
|
||||
v0.0.6
|
||||
v0.0.7
|
||||
</div>
|
||||
<div role="search">
|
||||
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
|
||||
@ -41,23 +39,9 @@
|
||||
</form>
|
||||
</div>
|
||||
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
|
||||
<ul class="current">
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.api.html">kittycad.api</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.client.html">kittycad.client</a></li>
|
||||
<li class="toctree-l1 current"><a class="current reference internal" href="#">kittycad.models</a><ul>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.auth_session.html">kittycad.models.auth_session</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.error_message.html">kittycad.models.error_message</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.file_conversion.html">kittycad.models.file_conversion</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.file_conversion_status.html">kittycad.models.file_conversion_status</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.gpu_device.html">kittycad.models.gpu_device</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.instance.html">kittycad.models.instance</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.pong_enum.html">kittycad.models.pong_enum</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.pong_message.html">kittycad.models.pong_message</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.server_env.html">kittycad.models.server_env</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.valid_output_file_format.html">kittycad.models.valid_output_file_format</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.valid_source_file_format.html">kittycad.models.valid_source_file_format</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.types.html">kittycad.types</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
@ -89,9 +73,8 @@
|
||||
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
||||
<div itemprop="articleBody">
|
||||
|
||||
<section id="module-kittycad.models">
|
||||
<span id="kittycad-models"></span><h1>kittycad.models<a class="headerlink" href="#module-kittycad.models" title="Permalink to this headline"></a></h1>
|
||||
<p>Contains all the data models used in inputs/outputs</p>
|
||||
<section id="kittycad-models">
|
||||
<h1>kittycad.models<a class="headerlink" href="#kittycad-models" title="Permalink to this headline"></a></h1>
|
||||
<p class="rubric">Modules</p>
|
||||
<table class="longtable docutils align-default">
|
||||
<colgroup>
|
||||
@ -99,39 +82,6 @@
|
||||
<col style="width: 90%" />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr class="row-odd"><td><p><a class="reference internal" href="kittycad.models.auth_session.html#module-kittycad.models.auth_session" title="kittycad.models.auth_session"><code class="xref py py-obj docutils literal notranslate"><span class="pre">kittycad.models.auth_session</span></code></a></p></td>
|
||||
<td><p></p></td>
|
||||
</tr>
|
||||
<tr class="row-even"><td><p><a class="reference internal" href="kittycad.models.error_message.html#module-kittycad.models.error_message" title="kittycad.models.error_message"><code class="xref py py-obj docutils literal notranslate"><span class="pre">kittycad.models.error_message</span></code></a></p></td>
|
||||
<td><p></p></td>
|
||||
</tr>
|
||||
<tr class="row-odd"><td><p><a class="reference internal" href="kittycad.models.file_conversion.html#module-kittycad.models.file_conversion" title="kittycad.models.file_conversion"><code class="xref py py-obj docutils literal notranslate"><span class="pre">kittycad.models.file_conversion</span></code></a></p></td>
|
||||
<td><p></p></td>
|
||||
</tr>
|
||||
<tr class="row-even"><td><p><a class="reference internal" href="kittycad.models.file_conversion_status.html#module-kittycad.models.file_conversion_status" title="kittycad.models.file_conversion_status"><code class="xref py py-obj docutils literal notranslate"><span class="pre">kittycad.models.file_conversion_status</span></code></a></p></td>
|
||||
<td><p></p></td>
|
||||
</tr>
|
||||
<tr class="row-odd"><td><p><a class="reference internal" href="kittycad.models.gpu_device.html#module-kittycad.models.gpu_device" title="kittycad.models.gpu_device"><code class="xref py py-obj docutils literal notranslate"><span class="pre">kittycad.models.gpu_device</span></code></a></p></td>
|
||||
<td><p></p></td>
|
||||
</tr>
|
||||
<tr class="row-even"><td><p><a class="reference internal" href="kittycad.models.instance.html#module-kittycad.models.instance" title="kittycad.models.instance"><code class="xref py py-obj docutils literal notranslate"><span class="pre">kittycad.models.instance</span></code></a></p></td>
|
||||
<td><p></p></td>
|
||||
</tr>
|
||||
<tr class="row-odd"><td><p><a class="reference internal" href="kittycad.models.pong_enum.html#module-kittycad.models.pong_enum" title="kittycad.models.pong_enum"><code class="xref py py-obj docutils literal notranslate"><span class="pre">kittycad.models.pong_enum</span></code></a></p></td>
|
||||
<td><p></p></td>
|
||||
</tr>
|
||||
<tr class="row-even"><td><p><a class="reference internal" href="kittycad.models.pong_message.html#module-kittycad.models.pong_message" title="kittycad.models.pong_message"><code class="xref py py-obj docutils literal notranslate"><span class="pre">kittycad.models.pong_message</span></code></a></p></td>
|
||||
<td><p></p></td>
|
||||
</tr>
|
||||
<tr class="row-odd"><td><p><a class="reference internal" href="kittycad.models.server_env.html#module-kittycad.models.server_env" title="kittycad.models.server_env"><code class="xref py py-obj docutils literal notranslate"><span class="pre">kittycad.models.server_env</span></code></a></p></td>
|
||||
<td><p></p></td>
|
||||
</tr>
|
||||
<tr class="row-even"><td><p><a class="reference internal" href="kittycad.models.valid_output_file_format.html#module-kittycad.models.valid_output_file_format" title="kittycad.models.valid_output_file_format"><code class="xref py py-obj docutils literal notranslate"><span class="pre">kittycad.models.valid_output_file_format</span></code></a></p></td>
|
||||
<td><p></p></td>
|
||||
</tr>
|
||||
<tr class="row-odd"><td><p><a class="reference internal" href="kittycad.models.valid_source_file_format.html#module-kittycad.models.valid_source_file_format" title="kittycad.models.valid_source_file_format"><code class="xref py py-obj docutils literal notranslate"><span class="pre">kittycad.models.valid_source_file_format</span></code></a></p></td>
|
||||
<td><p></p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</section>
|
||||
@ -139,10 +89,7 @@
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
|
||||
<a href="kittycad.client.html" class="btn btn-neutral float-left" title="kittycad.client" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
|
||||
<a href="kittycad.models.auth_session.html" class="btn btn-neutral float-right" title="kittycad.models.auth_session" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
|
||||
</div>
|
||||
<footer>
|
||||
|
||||
<hr/>
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>kittycad.models.instance — kittycad v0.0.6 documentation</title>
|
||||
<title>kittycad.models.instance — kittycad v0.0.7 documentation</title>
|
||||
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/graphviz.css" type="text/css" />
|
||||
@ -18,9 +18,7 @@
|
||||
<script src="../_static/doctools.js"></script>
|
||||
<script src="../_static/js/theme.js"></script>
|
||||
<link rel="index" title="Index" href="../genindex.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
<link rel="next" title="kittycad.models.pong_enum" href="kittycad.models.pong_enum.html" />
|
||||
<link rel="prev" title="kittycad.models.gpu_device" href="kittycad.models.gpu_device.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
</head>
|
||||
|
||||
<body class="wy-body-for-nav">
|
||||
@ -31,7 +29,7 @@
|
||||
<a href="../index.html" class="icon icon-home"> kittycad
|
||||
</a>
|
||||
<div class="version">
|
||||
v0.0.6
|
||||
v0.0.7
|
||||
</div>
|
||||
<div role="search">
|
||||
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
|
||||
@ -41,23 +39,9 @@
|
||||
</form>
|
||||
</div>
|
||||
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
|
||||
<ul class="current">
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.api.html">kittycad.api</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.client.html">kittycad.client</a></li>
|
||||
<li class="toctree-l1 current"><a class="reference internal" href="kittycad.models.html">kittycad.models</a><ul class="current">
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.auth_session.html">kittycad.models.auth_session</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.error_message.html">kittycad.models.error_message</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.file_conversion.html">kittycad.models.file_conversion</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.file_conversion_status.html">kittycad.models.file_conversion_status</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.gpu_device.html">kittycad.models.gpu_device</a></li>
|
||||
<li class="toctree-l2 current"><a class="current reference internal" href="#">kittycad.models.instance</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.pong_enum.html">kittycad.models.pong_enum</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.pong_message.html">kittycad.models.pong_message</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.server_env.html">kittycad.models.server_env</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.valid_output_file_format.html">kittycad.models.valid_output_file_format</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.valid_source_file_format.html">kittycad.models.valid_source_file_format</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.types.html">kittycad.types</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
@ -79,7 +63,6 @@
|
||||
<div role="navigation" aria-label="Page navigation">
|
||||
<ul class="wy-breadcrumbs">
|
||||
<li><a href="../index.html" class="icon icon-home"></a> »</li>
|
||||
<li><a href="kittycad.models.html">kittycad.models</a> »</li>
|
||||
<li>kittycad.models.instance</li>
|
||||
<li class="wy-breadcrumbs-aside">
|
||||
<a href="../_sources/modules/kittycad.models.instance.rst.txt" rel="nofollow"> View page source</a>
|
||||
@ -90,29 +73,14 @@
|
||||
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
||||
<div itemprop="articleBody">
|
||||
|
||||
<section id="module-kittycad.models.instance">
|
||||
<span id="kittycad-models-instance"></span><h1>kittycad.models.instance<a class="headerlink" href="#module-kittycad.models.instance" title="Permalink to this headline"></a></h1>
|
||||
<p class="rubric">Classes</p>
|
||||
<table class="longtable docutils align-default">
|
||||
<colgroup>
|
||||
<col style="width: 10%" />
|
||||
<col style="width: 90%" />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">Instance</span></code>([cpu_platform, description, ...])</p></td>
|
||||
<td><p></p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<section id="kittycad-models-instance">
|
||||
<h1>kittycad.models.instance<a class="headerlink" href="#kittycad-models-instance" title="Permalink to this headline"></a></h1>
|
||||
</section>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
|
||||
<a href="kittycad.models.gpu_device.html" class="btn btn-neutral float-left" title="kittycad.models.gpu_device" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
|
||||
<a href="kittycad.models.pong_enum.html" class="btn btn-neutral float-right" title="kittycad.models.pong_enum" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
|
||||
</div>
|
||||
<footer>
|
||||
|
||||
<hr/>
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>kittycad.models.pong_enum — kittycad v0.0.6 documentation</title>
|
||||
<title>kittycad.models.pong_enum — kittycad v0.0.7 documentation</title>
|
||||
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/graphviz.css" type="text/css" />
|
||||
@ -18,9 +18,7 @@
|
||||
<script src="../_static/doctools.js"></script>
|
||||
<script src="../_static/js/theme.js"></script>
|
||||
<link rel="index" title="Index" href="../genindex.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
<link rel="next" title="kittycad.models.pong_message" href="kittycad.models.pong_message.html" />
|
||||
<link rel="prev" title="kittycad.models.instance" href="kittycad.models.instance.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
</head>
|
||||
|
||||
<body class="wy-body-for-nav">
|
||||
@ -31,7 +29,7 @@
|
||||
<a href="../index.html" class="icon icon-home"> kittycad
|
||||
</a>
|
||||
<div class="version">
|
||||
v0.0.6
|
||||
v0.0.7
|
||||
</div>
|
||||
<div role="search">
|
||||
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
|
||||
@ -41,23 +39,9 @@
|
||||
</form>
|
||||
</div>
|
||||
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
|
||||
<ul class="current">
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.api.html">kittycad.api</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.client.html">kittycad.client</a></li>
|
||||
<li class="toctree-l1 current"><a class="reference internal" href="kittycad.models.html">kittycad.models</a><ul class="current">
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.auth_session.html">kittycad.models.auth_session</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.error_message.html">kittycad.models.error_message</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.file_conversion.html">kittycad.models.file_conversion</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.file_conversion_status.html">kittycad.models.file_conversion_status</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.gpu_device.html">kittycad.models.gpu_device</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.instance.html">kittycad.models.instance</a></li>
|
||||
<li class="toctree-l2 current"><a class="current reference internal" href="#">kittycad.models.pong_enum</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.pong_message.html">kittycad.models.pong_message</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.server_env.html">kittycad.models.server_env</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.valid_output_file_format.html">kittycad.models.valid_output_file_format</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.valid_source_file_format.html">kittycad.models.valid_source_file_format</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.types.html">kittycad.types</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
@ -79,7 +63,6 @@
|
||||
<div role="navigation" aria-label="Page navigation">
|
||||
<ul class="wy-breadcrumbs">
|
||||
<li><a href="../index.html" class="icon icon-home"></a> »</li>
|
||||
<li><a href="kittycad.models.html">kittycad.models</a> »</li>
|
||||
<li>kittycad.models.pong_enum</li>
|
||||
<li class="wy-breadcrumbs-aside">
|
||||
<a href="../_sources/modules/kittycad.models.pong_enum.rst.txt" rel="nofollow"> View page source</a>
|
||||
@ -90,29 +73,14 @@
|
||||
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
||||
<div itemprop="articleBody">
|
||||
|
||||
<section id="module-kittycad.models.pong_enum">
|
||||
<span id="kittycad-models-pong-enum"></span><h1>kittycad.models.pong_enum<a class="headerlink" href="#module-kittycad.models.pong_enum" title="Permalink to this headline"></a></h1>
|
||||
<p class="rubric">Classes</p>
|
||||
<table class="longtable docutils align-default">
|
||||
<colgroup>
|
||||
<col style="width: 10%" />
|
||||
<col style="width: 90%" />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">PongEnum</span></code>(value)</p></td>
|
||||
<td><p>An enumeration.</p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<section id="kittycad-models-pong-enum">
|
||||
<h1>kittycad.models.pong_enum<a class="headerlink" href="#kittycad-models-pong-enum" title="Permalink to this headline"></a></h1>
|
||||
</section>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
|
||||
<a href="kittycad.models.instance.html" class="btn btn-neutral float-left" title="kittycad.models.instance" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
|
||||
<a href="kittycad.models.pong_message.html" class="btn btn-neutral float-right" title="kittycad.models.pong_message" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
|
||||
</div>
|
||||
<footer>
|
||||
|
||||
<hr/>
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>kittycad.models.pong_message — kittycad v0.0.6 documentation</title>
|
||||
<title>kittycad.models.pong_message — kittycad v0.0.7 documentation</title>
|
||||
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/graphviz.css" type="text/css" />
|
||||
@ -18,9 +18,7 @@
|
||||
<script src="../_static/doctools.js"></script>
|
||||
<script src="../_static/js/theme.js"></script>
|
||||
<link rel="index" title="Index" href="../genindex.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
<link rel="next" title="kittycad.models.server_env" href="kittycad.models.server_env.html" />
|
||||
<link rel="prev" title="kittycad.models.pong_enum" href="kittycad.models.pong_enum.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
</head>
|
||||
|
||||
<body class="wy-body-for-nav">
|
||||
@ -31,7 +29,7 @@
|
||||
<a href="../index.html" class="icon icon-home"> kittycad
|
||||
</a>
|
||||
<div class="version">
|
||||
v0.0.6
|
||||
v0.0.7
|
||||
</div>
|
||||
<div role="search">
|
||||
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
|
||||
@ -41,23 +39,9 @@
|
||||
</form>
|
||||
</div>
|
||||
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
|
||||
<ul class="current">
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.api.html">kittycad.api</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.client.html">kittycad.client</a></li>
|
||||
<li class="toctree-l1 current"><a class="reference internal" href="kittycad.models.html">kittycad.models</a><ul class="current">
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.auth_session.html">kittycad.models.auth_session</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.error_message.html">kittycad.models.error_message</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.file_conversion.html">kittycad.models.file_conversion</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.file_conversion_status.html">kittycad.models.file_conversion_status</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.gpu_device.html">kittycad.models.gpu_device</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.instance.html">kittycad.models.instance</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.pong_enum.html">kittycad.models.pong_enum</a></li>
|
||||
<li class="toctree-l2 current"><a class="current reference internal" href="#">kittycad.models.pong_message</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.server_env.html">kittycad.models.server_env</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.valid_output_file_format.html">kittycad.models.valid_output_file_format</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.valid_source_file_format.html">kittycad.models.valid_source_file_format</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.types.html">kittycad.types</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
@ -79,7 +63,6 @@
|
||||
<div role="navigation" aria-label="Page navigation">
|
||||
<ul class="wy-breadcrumbs">
|
||||
<li><a href="../index.html" class="icon icon-home"></a> »</li>
|
||||
<li><a href="kittycad.models.html">kittycad.models</a> »</li>
|
||||
<li>kittycad.models.pong_message</li>
|
||||
<li class="wy-breadcrumbs-aside">
|
||||
<a href="../_sources/modules/kittycad.models.pong_message.rst.txt" rel="nofollow"> View page source</a>
|
||||
@ -90,29 +73,14 @@
|
||||
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
||||
<div itemprop="articleBody">
|
||||
|
||||
<section id="module-kittycad.models.pong_message">
|
||||
<span id="kittycad-models-pong-message"></span><h1>kittycad.models.pong_message<a class="headerlink" href="#module-kittycad.models.pong_message" title="Permalink to this headline"></a></h1>
|
||||
<p class="rubric">Classes</p>
|
||||
<table class="longtable docutils align-default">
|
||||
<colgroup>
|
||||
<col style="width: 10%" />
|
||||
<col style="width: 90%" />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">PongMessage</span></code>([message])</p></td>
|
||||
<td><p></p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<section id="kittycad-models-pong-message">
|
||||
<h1>kittycad.models.pong_message<a class="headerlink" href="#kittycad-models-pong-message" title="Permalink to this headline"></a></h1>
|
||||
</section>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
|
||||
<a href="kittycad.models.pong_enum.html" class="btn btn-neutral float-left" title="kittycad.models.pong_enum" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
|
||||
<a href="kittycad.models.server_env.html" class="btn btn-neutral float-right" title="kittycad.models.server_env" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
|
||||
</div>
|
||||
<footer>
|
||||
|
||||
<hr/>
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>kittycad.models.server_env — kittycad v0.0.6 documentation</title>
|
||||
<title>kittycad.models.server_env — kittycad v0.0.7 documentation</title>
|
||||
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/graphviz.css" type="text/css" />
|
||||
@ -18,9 +18,7 @@
|
||||
<script src="../_static/doctools.js"></script>
|
||||
<script src="../_static/js/theme.js"></script>
|
||||
<link rel="index" title="Index" href="../genindex.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
<link rel="next" title="kittycad.models.valid_output_file_format" href="kittycad.models.valid_output_file_format.html" />
|
||||
<link rel="prev" title="kittycad.models.pong_message" href="kittycad.models.pong_message.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
</head>
|
||||
|
||||
<body class="wy-body-for-nav">
|
||||
@ -31,7 +29,7 @@
|
||||
<a href="../index.html" class="icon icon-home"> kittycad
|
||||
</a>
|
||||
<div class="version">
|
||||
v0.0.6
|
||||
v0.0.7
|
||||
</div>
|
||||
<div role="search">
|
||||
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
|
||||
@ -41,23 +39,9 @@
|
||||
</form>
|
||||
</div>
|
||||
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
|
||||
<ul class="current">
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.api.html">kittycad.api</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.client.html">kittycad.client</a></li>
|
||||
<li class="toctree-l1 current"><a class="reference internal" href="kittycad.models.html">kittycad.models</a><ul class="current">
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.auth_session.html">kittycad.models.auth_session</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.error_message.html">kittycad.models.error_message</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.file_conversion.html">kittycad.models.file_conversion</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.file_conversion_status.html">kittycad.models.file_conversion_status</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.gpu_device.html">kittycad.models.gpu_device</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.instance.html">kittycad.models.instance</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.pong_enum.html">kittycad.models.pong_enum</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.pong_message.html">kittycad.models.pong_message</a></li>
|
||||
<li class="toctree-l2 current"><a class="current reference internal" href="#">kittycad.models.server_env</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.valid_output_file_format.html">kittycad.models.valid_output_file_format</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.valid_source_file_format.html">kittycad.models.valid_source_file_format</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.types.html">kittycad.types</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
@ -79,7 +63,6 @@
|
||||
<div role="navigation" aria-label="Page navigation">
|
||||
<ul class="wy-breadcrumbs">
|
||||
<li><a href="../index.html" class="icon icon-home"></a> »</li>
|
||||
<li><a href="kittycad.models.html">kittycad.models</a> »</li>
|
||||
<li>kittycad.models.server_env</li>
|
||||
<li class="wy-breadcrumbs-aside">
|
||||
<a href="../_sources/modules/kittycad.models.server_env.rst.txt" rel="nofollow"> View page source</a>
|
||||
@ -90,29 +73,14 @@
|
||||
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
||||
<div itemprop="articleBody">
|
||||
|
||||
<section id="module-kittycad.models.server_env">
|
||||
<span id="kittycad-models-server-env"></span><h1>kittycad.models.server_env<a class="headerlink" href="#module-kittycad.models.server_env" title="Permalink to this headline"></a></h1>
|
||||
<p class="rubric">Classes</p>
|
||||
<table class="longtable docutils align-default">
|
||||
<colgroup>
|
||||
<col style="width: 10%" />
|
||||
<col style="width: 90%" />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">ServerEnv</span></code>(value)</p></td>
|
||||
<td><p>An enumeration.</p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<section id="kittycad-models-server-env">
|
||||
<h1>kittycad.models.server_env<a class="headerlink" href="#kittycad-models-server-env" title="Permalink to this headline"></a></h1>
|
||||
</section>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
|
||||
<a href="kittycad.models.pong_message.html" class="btn btn-neutral float-left" title="kittycad.models.pong_message" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
|
||||
<a href="kittycad.models.valid_output_file_format.html" class="btn btn-neutral float-right" title="kittycad.models.valid_output_file_format" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
|
||||
</div>
|
||||
<footer>
|
||||
|
||||
<hr/>
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>kittycad.models.valid_output_file_format — kittycad v0.0.6 documentation</title>
|
||||
<title>kittycad.models.valid_output_file_format — kittycad v0.0.7 documentation</title>
|
||||
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/graphviz.css" type="text/css" />
|
||||
@ -18,9 +18,7 @@
|
||||
<script src="../_static/doctools.js"></script>
|
||||
<script src="../_static/js/theme.js"></script>
|
||||
<link rel="index" title="Index" href="../genindex.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
<link rel="next" title="kittycad.models.valid_source_file_format" href="kittycad.models.valid_source_file_format.html" />
|
||||
<link rel="prev" title="kittycad.models.server_env" href="kittycad.models.server_env.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
</head>
|
||||
|
||||
<body class="wy-body-for-nav">
|
||||
@ -31,7 +29,7 @@
|
||||
<a href="../index.html" class="icon icon-home"> kittycad
|
||||
</a>
|
||||
<div class="version">
|
||||
v0.0.6
|
||||
v0.0.7
|
||||
</div>
|
||||
<div role="search">
|
||||
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
|
||||
@ -41,23 +39,9 @@
|
||||
</form>
|
||||
</div>
|
||||
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
|
||||
<ul class="current">
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.api.html">kittycad.api</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.client.html">kittycad.client</a></li>
|
||||
<li class="toctree-l1 current"><a class="reference internal" href="kittycad.models.html">kittycad.models</a><ul class="current">
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.auth_session.html">kittycad.models.auth_session</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.error_message.html">kittycad.models.error_message</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.file_conversion.html">kittycad.models.file_conversion</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.file_conversion_status.html">kittycad.models.file_conversion_status</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.gpu_device.html">kittycad.models.gpu_device</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.instance.html">kittycad.models.instance</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.pong_enum.html">kittycad.models.pong_enum</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.pong_message.html">kittycad.models.pong_message</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.server_env.html">kittycad.models.server_env</a></li>
|
||||
<li class="toctree-l2 current"><a class="current reference internal" href="#">kittycad.models.valid_output_file_format</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.valid_source_file_format.html">kittycad.models.valid_source_file_format</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.types.html">kittycad.types</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
@ -79,7 +63,6 @@
|
||||
<div role="navigation" aria-label="Page navigation">
|
||||
<ul class="wy-breadcrumbs">
|
||||
<li><a href="../index.html" class="icon icon-home"></a> »</li>
|
||||
<li><a href="kittycad.models.html">kittycad.models</a> »</li>
|
||||
<li>kittycad.models.valid_output_file_format</li>
|
||||
<li class="wy-breadcrumbs-aside">
|
||||
<a href="../_sources/modules/kittycad.models.valid_output_file_format.rst.txt" rel="nofollow"> View page source</a>
|
||||
@ -90,29 +73,14 @@
|
||||
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
||||
<div itemprop="articleBody">
|
||||
|
||||
<section id="module-kittycad.models.valid_output_file_format">
|
||||
<span id="kittycad-models-valid-output-file-format"></span><h1>kittycad.models.valid_output_file_format<a class="headerlink" href="#module-kittycad.models.valid_output_file_format" title="Permalink to this headline"></a></h1>
|
||||
<p class="rubric">Classes</p>
|
||||
<table class="longtable docutils align-default">
|
||||
<colgroup>
|
||||
<col style="width: 10%" />
|
||||
<col style="width: 90%" />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">ValidOutputFileFormat</span></code>(value)</p></td>
|
||||
<td><p>An enumeration.</p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<section id="kittycad-models-valid-output-file-format">
|
||||
<h1>kittycad.models.valid_output_file_format<a class="headerlink" href="#kittycad-models-valid-output-file-format" title="Permalink to this headline"></a></h1>
|
||||
</section>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
|
||||
<a href="kittycad.models.server_env.html" class="btn btn-neutral float-left" title="kittycad.models.server_env" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
|
||||
<a href="kittycad.models.valid_source_file_format.html" class="btn btn-neutral float-right" title="kittycad.models.valid_source_file_format" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
|
||||
</div>
|
||||
<footer>
|
||||
|
||||
<hr/>
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>kittycad.models.valid_source_file_format — kittycad v0.0.6 documentation</title>
|
||||
<title>kittycad.models.valid_source_file_format — kittycad v0.0.7 documentation</title>
|
||||
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/graphviz.css" type="text/css" />
|
||||
@ -18,9 +18,7 @@
|
||||
<script src="../_static/doctools.js"></script>
|
||||
<script src="../_static/js/theme.js"></script>
|
||||
<link rel="index" title="Index" href="../genindex.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
<link rel="next" title="kittycad.types" href="kittycad.types.html" />
|
||||
<link rel="prev" title="kittycad.models.valid_output_file_format" href="kittycad.models.valid_output_file_format.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
</head>
|
||||
|
||||
<body class="wy-body-for-nav">
|
||||
@ -31,7 +29,7 @@
|
||||
<a href="../index.html" class="icon icon-home"> kittycad
|
||||
</a>
|
||||
<div class="version">
|
||||
v0.0.6
|
||||
v0.0.7
|
||||
</div>
|
||||
<div role="search">
|
||||
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
|
||||
@ -41,23 +39,9 @@
|
||||
</form>
|
||||
</div>
|
||||
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
|
||||
<ul class="current">
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.api.html">kittycad.api</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.client.html">kittycad.client</a></li>
|
||||
<li class="toctree-l1 current"><a class="reference internal" href="kittycad.models.html">kittycad.models</a><ul class="current">
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.auth_session.html">kittycad.models.auth_session</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.error_message.html">kittycad.models.error_message</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.file_conversion.html">kittycad.models.file_conversion</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.file_conversion_status.html">kittycad.models.file_conversion_status</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.gpu_device.html">kittycad.models.gpu_device</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.instance.html">kittycad.models.instance</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.pong_enum.html">kittycad.models.pong_enum</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.pong_message.html">kittycad.models.pong_message</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.server_env.html">kittycad.models.server_env</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="kittycad.models.valid_output_file_format.html">kittycad.models.valid_output_file_format</a></li>
|
||||
<li class="toctree-l2 current"><a class="current reference internal" href="#">kittycad.models.valid_source_file_format</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.types.html">kittycad.types</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
@ -79,7 +63,6 @@
|
||||
<div role="navigation" aria-label="Page navigation">
|
||||
<ul class="wy-breadcrumbs">
|
||||
<li><a href="../index.html" class="icon icon-home"></a> »</li>
|
||||
<li><a href="kittycad.models.html">kittycad.models</a> »</li>
|
||||
<li>kittycad.models.valid_source_file_format</li>
|
||||
<li class="wy-breadcrumbs-aside">
|
||||
<a href="../_sources/modules/kittycad.models.valid_source_file_format.rst.txt" rel="nofollow"> View page source</a>
|
||||
@ -90,29 +73,14 @@
|
||||
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
||||
<div itemprop="articleBody">
|
||||
|
||||
<section id="module-kittycad.models.valid_source_file_format">
|
||||
<span id="kittycad-models-valid-source-file-format"></span><h1>kittycad.models.valid_source_file_format<a class="headerlink" href="#module-kittycad.models.valid_source_file_format" title="Permalink to this headline"></a></h1>
|
||||
<p class="rubric">Classes</p>
|
||||
<table class="longtable docutils align-default">
|
||||
<colgroup>
|
||||
<col style="width: 10%" />
|
||||
<col style="width: 90%" />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr class="row-odd"><td><p><code class="xref py py-obj docutils literal notranslate"><span class="pre">ValidSourceFileFormat</span></code>(value)</p></td>
|
||||
<td><p>An enumeration.</p></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<section id="kittycad-models-valid-source-file-format">
|
||||
<h1>kittycad.models.valid_source_file_format<a class="headerlink" href="#kittycad-models-valid-source-file-format" title="Permalink to this headline"></a></h1>
|
||||
</section>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
|
||||
<a href="kittycad.models.valid_output_file_format.html" class="btn btn-neutral float-left" title="kittycad.models.valid_output_file_format" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
|
||||
<a href="kittycad.types.html" class="btn btn-neutral float-right" title="kittycad.types" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
|
||||
</div>
|
||||
<footer>
|
||||
|
||||
<hr/>
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>kittycad.types — kittycad v0.0.6 documentation</title>
|
||||
<title>kittycad.types — kittycad v0.0.7 documentation</title>
|
||||
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
|
||||
<link rel="stylesheet" href="../_static/graphviz.css" type="text/css" />
|
||||
@ -20,7 +20,7 @@
|
||||
<link rel="index" title="Index" href="../genindex.html" />
|
||||
<link rel="search" title="Search" href="../search.html" />
|
||||
<link rel="next" title="Client" href="../api/kittycad.Client.html" />
|
||||
<link rel="prev" title="kittycad.models.valid_source_file_format" href="kittycad.models.valid_source_file_format.html" />
|
||||
<link rel="prev" title="kittycad.client" href="kittycad.client.html" />
|
||||
</head>
|
||||
|
||||
<body class="wy-body-for-nav">
|
||||
@ -31,7 +31,7 @@
|
||||
<a href="../index.html" class="icon icon-home"> kittycad
|
||||
</a>
|
||||
<div class="version">
|
||||
v0.0.6
|
||||
v0.0.7
|
||||
</div>
|
||||
<div role="search">
|
||||
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
|
||||
@ -44,7 +44,6 @@
|
||||
<ul class="current">
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.api.html">kittycad.api</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.client.html">kittycad.client</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="kittycad.models.html">kittycad.models</a></li>
|
||||
<li class="toctree-l1 current"><a class="current reference internal" href="#">kittycad.types</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
@ -103,7 +102,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
|
||||
<a href="kittycad.models.valid_source_file_format.html" class="btn btn-neutral float-left" title="kittycad.models.valid_source_file_format" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
|
||||
<a href="kittycad.client.html" class="btn btn-neutral float-left" title="kittycad.client" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
|
||||
<a href="../api/kittycad.Client.html" class="btn btn-neutral float-right" title="Client" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
|
||||
</div>
|
||||
|
||||
|
Binary file not shown.
@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Python Module Index — kittycad v0.0.6 documentation</title>
|
||||
<title>Python Module Index — kittycad v0.0.7 documentation</title>
|
||||
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
|
||||
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
|
||||
<link rel="stylesheet" href="_static/graphviz.css" type="text/css" />
|
||||
@ -31,7 +31,7 @@
|
||||
<a href="index.html" class="icon icon-home"> kittycad
|
||||
</a>
|
||||
<div class="version">
|
||||
v0.0.6
|
||||
v0.0.7
|
||||
</div>
|
||||
<div role="search">
|
||||
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
|
||||
@ -44,7 +44,6 @@
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="modules/kittycad.api.html">kittycad.api</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="modules/kittycad.client.html">kittycad.client</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="modules/kittycad.models.html">kittycad.models</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="modules/kittycad.types.html">kittycad.types</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
@ -107,36 +106,11 @@
|
||||
<td>   
|
||||
<a href="modules/kittycad.api.file.html#module-kittycad.api.file"><code class="xref">kittycad.api.file</code></a></td><td>
|
||||
<em></em></td></tr>
|
||||
<tr class="cg-1">
|
||||
<td></td>
|
||||
<td>   
|
||||
<a href="modules/kittycad.api.file.file_conversion_status.html#module-kittycad.api.file.file_conversion_status"><code class="xref">kittycad.api.file.file_conversion_status</code></a></td><td>
|
||||
<em></em></td></tr>
|
||||
<tr class="cg-1">
|
||||
<td></td>
|
||||
<td>   
|
||||
<a href="modules/kittycad.api.file.file_conversion_status_with_base64_helper.html#module-kittycad.api.file.file_conversion_status_with_base64_helper"><code class="xref">kittycad.api.file.file_conversion_status_with_base64_helper</code></a></td><td>
|
||||
<em></em></td></tr>
|
||||
<tr class="cg-1">
|
||||
<td></td>
|
||||
<td>   
|
||||
<a href="modules/kittycad.api.file.post_file_conversion.html#module-kittycad.api.file.post_file_conversion"><code class="xref">kittycad.api.file.post_file_conversion</code></a></td><td>
|
||||
<em></em></td></tr>
|
||||
<tr class="cg-1">
|
||||
<td></td>
|
||||
<td>   
|
||||
<a href="modules/kittycad.api.file.post_file_conversion_with_base64_helper.html#module-kittycad.api.file.post_file_conversion_with_base64_helper"><code class="xref">kittycad.api.file.post_file_conversion_with_base64_helper</code></a></td><td>
|
||||
<em></em></td></tr>
|
||||
<tr class="cg-1">
|
||||
<td></td>
|
||||
<td>   
|
||||
<a href="modules/kittycad.api.internal.html#module-kittycad.api.internal"><code class="xref">kittycad.api.internal</code></a></td><td>
|
||||
<em></em></td></tr>
|
||||
<tr class="cg-1">
|
||||
<td></td>
|
||||
<td>   
|
||||
<a href="modules/kittycad.api.internal.stop_async_conversions.html#module-kittycad.api.internal.stop_async_conversions"><code class="xref">kittycad.api.internal.stop_async_conversions</code></a></td><td>
|
||||
<em></em></td></tr>
|
||||
<tr class="cg-1">
|
||||
<td></td>
|
||||
<td>   
|
||||
@ -145,83 +119,13 @@
|
||||
<tr class="cg-1">
|
||||
<td></td>
|
||||
<td>   
|
||||
<a href="modules/kittycad.api.meta.auth_session.html#module-kittycad.api.meta.auth_session"><code class="xref">kittycad.api.meta.auth_session</code></a></td><td>
|
||||
<em></em></td></tr>
|
||||
<tr class="cg-1">
|
||||
<td></td>
|
||||
<td>   
|
||||
<a href="modules/kittycad.api.meta.instance_metadata.html#module-kittycad.api.meta.instance_metadata"><code class="xref">kittycad.api.meta.instance_metadata</code></a></td><td>
|
||||
<em></em></td></tr>
|
||||
<tr class="cg-1">
|
||||
<td></td>
|
||||
<td>   
|
||||
<a href="modules/kittycad.api.meta.ping.html#module-kittycad.api.meta.ping"><code class="xref">kittycad.api.meta.ping</code></a></td><td>
|
||||
<a href="modules/kittycad.api.users.html#module-kittycad.api.users"><code class="xref">kittycad.api.users</code></a></td><td>
|
||||
<em></em></td></tr>
|
||||
<tr class="cg-1">
|
||||
<td></td>
|
||||
<td>   
|
||||
<a href="modules/kittycad.client.html#module-kittycad.client"><code class="xref">kittycad.client</code></a></td><td>
|
||||
<em></em></td></tr>
|
||||
<tr class="cg-1">
|
||||
<td></td>
|
||||
<td>   
|
||||
<a href="modules/kittycad.models.html#module-kittycad.models"><code class="xref">kittycad.models</code></a></td><td>
|
||||
<em></em></td></tr>
|
||||
<tr class="cg-1">
|
||||
<td></td>
|
||||
<td>   
|
||||
<a href="modules/kittycad.models.auth_session.html#module-kittycad.models.auth_session"><code class="xref">kittycad.models.auth_session</code></a></td><td>
|
||||
<em></em></td></tr>
|
||||
<tr class="cg-1">
|
||||
<td></td>
|
||||
<td>   
|
||||
<a href="modules/kittycad.models.error_message.html#module-kittycad.models.error_message"><code class="xref">kittycad.models.error_message</code></a></td><td>
|
||||
<em></em></td></tr>
|
||||
<tr class="cg-1">
|
||||
<td></td>
|
||||
<td>   
|
||||
<a href="modules/kittycad.models.file_conversion.html#module-kittycad.models.file_conversion"><code class="xref">kittycad.models.file_conversion</code></a></td><td>
|
||||
<em></em></td></tr>
|
||||
<tr class="cg-1">
|
||||
<td></td>
|
||||
<td>   
|
||||
<a href="modules/kittycad.models.file_conversion_status.html#module-kittycad.models.file_conversion_status"><code class="xref">kittycad.models.file_conversion_status</code></a></td><td>
|
||||
<em></em></td></tr>
|
||||
<tr class="cg-1">
|
||||
<td></td>
|
||||
<td>   
|
||||
<a href="modules/kittycad.models.gpu_device.html#module-kittycad.models.gpu_device"><code class="xref">kittycad.models.gpu_device</code></a></td><td>
|
||||
<em></em></td></tr>
|
||||
<tr class="cg-1">
|
||||
<td></td>
|
||||
<td>   
|
||||
<a href="modules/kittycad.models.instance.html#module-kittycad.models.instance"><code class="xref">kittycad.models.instance</code></a></td><td>
|
||||
<em></em></td></tr>
|
||||
<tr class="cg-1">
|
||||
<td></td>
|
||||
<td>   
|
||||
<a href="modules/kittycad.models.pong_enum.html#module-kittycad.models.pong_enum"><code class="xref">kittycad.models.pong_enum</code></a></td><td>
|
||||
<em></em></td></tr>
|
||||
<tr class="cg-1">
|
||||
<td></td>
|
||||
<td>   
|
||||
<a href="modules/kittycad.models.pong_message.html#module-kittycad.models.pong_message"><code class="xref">kittycad.models.pong_message</code></a></td><td>
|
||||
<em></em></td></tr>
|
||||
<tr class="cg-1">
|
||||
<td></td>
|
||||
<td>   
|
||||
<a href="modules/kittycad.models.server_env.html#module-kittycad.models.server_env"><code class="xref">kittycad.models.server_env</code></a></td><td>
|
||||
<em></em></td></tr>
|
||||
<tr class="cg-1">
|
||||
<td></td>
|
||||
<td>   
|
||||
<a href="modules/kittycad.models.valid_output_file_format.html#module-kittycad.models.valid_output_file_format"><code class="xref">kittycad.models.valid_output_file_format</code></a></td><td>
|
||||
<em></em></td></tr>
|
||||
<tr class="cg-1">
|
||||
<td></td>
|
||||
<td>   
|
||||
<a href="modules/kittycad.models.valid_source_file_format.html#module-kittycad.models.valid_source_file_format"><code class="xref">kittycad.models.valid_source_file_format</code></a></td><td>
|
||||
<em></em></td></tr>
|
||||
<tr class="cg-1">
|
||||
<td></td>
|
||||
<td>   
|
||||
|
@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Search — kittycad v0.0.6 documentation</title>
|
||||
<title>Search — kittycad v0.0.7 documentation</title>
|
||||
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
|
||||
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
|
||||
<link rel="stylesheet" href="_static/graphviz.css" type="text/css" />
|
||||
@ -31,7 +31,7 @@
|
||||
<a href="index.html" class="icon icon-home"> kittycad
|
||||
</a>
|
||||
<div class="version">
|
||||
v0.0.6
|
||||
v0.0.7
|
||||
</div>
|
||||
<div role="search">
|
||||
<form id="rtd-search-form" class="wy-form" action="#" method="get">
|
||||
@ -44,7 +44,6 @@
|
||||
<ul>
|
||||
<li class="toctree-l1"><a class="reference internal" href="modules/kittycad.api.html">kittycad.api</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="modules/kittycad.client.html">kittycad.client</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="modules/kittycad.models.html">kittycad.models</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="modules/kittycad.types.html">kittycad.types</a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
|
File diff suppressed because one or more lines are too long
@ -27,8 +27,13 @@ kittycad.api.file
|
||||
:toctree:
|
||||
: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.get_file_conversion
|
||||
kittycad.api.file.get_file_conversion_for_user
|
||||
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
|
||||
|
||||
|
@ -28,6 +28,7 @@ kittycad.api.meta
|
||||
:recursive:
|
||||
|
||||
kittycad.api.meta.auth_session
|
||||
kittycad.api.meta.get_schema
|
||||
kittycad.api.meta.instance_metadata
|
||||
kittycad.api.meta.ping
|
||||
|
||||
|
@ -27,8 +27,11 @@
|
||||
:toctree:
|
||||
:recursive:
|
||||
|
||||
kittycad.api.api-calls
|
||||
kittycad.api.api-tokens
|
||||
kittycad.api.beta
|
||||
kittycad.api.file
|
||||
kittycad.api.internal
|
||||
kittycad.api.meta
|
||||
kittycad.api.users
|
||||
|
||||
|
36
docs/modules/kittycad.api.users.rst
Normal file
36
docs/modules/kittycad.api.users.rst
Normal 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
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
from openapi_parser.parser.loader import OpenApiParser
|
||||
from prance import BaseParser
|
||||
|
||||
import json
|
||||
import os
|
||||
@ -12,17 +12,13 @@ def main():
|
||||
cwd = os.getcwd()
|
||||
path = os.path.join(cwd, 'spec.json')
|
||||
print("opening spec file: ", path)
|
||||
parser = OpenApiParser.open(path)
|
||||
# Ignore the security definitions.
|
||||
parser.load_metadata()
|
||||
parser.load_schemas()
|
||||
parser.load_path_items()
|
||||
parser = BaseParser(path)
|
||||
|
||||
# Generate the types.
|
||||
generateTypes(cwd, parser)
|
||||
generateTypes(cwd, parser.specification)
|
||||
|
||||
# Generate the paths.
|
||||
data = generatePaths(cwd, parser)
|
||||
data = generatePaths(cwd, parser.specification)
|
||||
|
||||
# Add the client information to the generation.
|
||||
data['info']['x-python'] = {
|
||||
@ -47,7 +43,7 @@ client = ClientFromEnv()""",
|
||||
f.close()
|
||||
|
||||
|
||||
def generatePaths(cwd: str, parser: OpenApiParser) -> dict:
|
||||
def generatePaths(cwd: str, parser: dict) -> dict:
|
||||
# Make sure we have the directory.
|
||||
path = os.path.join(cwd, 'kittycad', 'api')
|
||||
os.makedirs(path, exist_ok=True)
|
||||
@ -61,7 +57,7 @@ def generatePaths(cwd: str, parser: OpenApiParser) -> dict:
|
||||
f.close()
|
||||
|
||||
# Generate the directory/__init__.py for each of the tags.
|
||||
tags = parser.data['tags']
|
||||
tags = parser['tags']
|
||||
for tag in tags:
|
||||
tag_name = tag['name']
|
||||
tag_description = tag['description']
|
||||
@ -82,7 +78,7 @@ def generatePaths(cwd: str, parser: OpenApiParser) -> dict:
|
||||
f.close()
|
||||
|
||||
# Generate the paths.
|
||||
data = parser.data
|
||||
data = parser
|
||||
paths = data['paths']
|
||||
for p in paths:
|
||||
for method in paths[p]:
|
||||
@ -118,8 +114,8 @@ def generatePath(
|
||||
|
||||
success_type = endoint_refs[0]
|
||||
|
||||
if fn_name == 'file_conversion_status' or fn_name == 'post_file_conversion':
|
||||
fn_name = 'file_conversion_status_with_base64_helper'
|
||||
if fn_name == 'get_file_conversion' or fn_name == 'create_file_conversion':
|
||||
fn_name += '_with_base64_helper'
|
||||
|
||||
# Iterate over the parameters.
|
||||
params_str = ''
|
||||
@ -209,7 +205,7 @@ response: Response[""" + success_type + """] = await """ + fn_name + """.asyncio
|
||||
parameter_name = parameter['name']
|
||||
if 'type' in parameter['schema']:
|
||||
parameter_type = parameter['schema']['type'].replace(
|
||||
'string', 'str')
|
||||
'string', 'str').replace('integer', 'int')
|
||||
elif '$ref' in parameter['schema']:
|
||||
parameter_type = parameter['schema']['$ref'].replace(
|
||||
'#/components/schemas/', '')
|
||||
@ -277,7 +273,12 @@ response: Response[""" + success_type + """] = await """ + fn_name + """.asyncio
|
||||
responses = endpoint['responses']
|
||||
for response_code in responses:
|
||||
response = responses[response_code]
|
||||
f.write("\tif response.status_code == " + response_code + ":\n")
|
||||
f.write(
|
||||
"\tif response.status_code == " +
|
||||
response_code.replace(
|
||||
"XX",
|
||||
"00") +
|
||||
":\n")
|
||||
if 'content' in response:
|
||||
content = response['content']
|
||||
for content_type in content:
|
||||
@ -313,7 +314,11 @@ response: Response[""" + success_type + """] = await """ + fn_name + """.asyncio
|
||||
else:
|
||||
raise Exception("Unknown type")
|
||||
else:
|
||||
raise Exception("Unknown type")
|
||||
f.write(
|
||||
"\t\tresponse_" +
|
||||
response_code +
|
||||
" = response.json()\n")
|
||||
|
||||
elif '$ref' in response:
|
||||
schema_name = response['$ref'].replace(
|
||||
'#/components/responses/', '')
|
||||
@ -366,7 +371,7 @@ response: Response[""" + success_type + """] = await """ + fn_name + """.asyncio
|
||||
parameter_name = parameter['name']
|
||||
if 'type' in parameter['schema']:
|
||||
parameter_type = parameter['schema']['type'].replace(
|
||||
'string', 'str')
|
||||
'string', 'str').replace('integer', 'int')
|
||||
elif '$ref' in parameter['schema']:
|
||||
parameter_type = parameter['schema']['$ref'].replace(
|
||||
'#/components/schemas/', '')
|
||||
@ -397,7 +402,7 @@ response: Response[""" + success_type + """] = await """ + fn_name + """.asyncio
|
||||
parameter_name = parameter['name']
|
||||
if 'type' in parameter['schema']:
|
||||
parameter_type = parameter['schema']['type'].replace(
|
||||
'string', 'str')
|
||||
'string', 'str').replace('integer', 'int')
|
||||
elif '$ref' in parameter['schema']:
|
||||
parameter_type = parameter['schema']['$ref'].replace(
|
||||
'#/components/schemas/', '')
|
||||
@ -435,7 +440,7 @@ response: Response[""" + success_type + """] = await """ + fn_name + """.asyncio
|
||||
parameter_name = parameter['name']
|
||||
if 'type' in parameter['schema']:
|
||||
parameter_type = parameter['schema']['type'].replace(
|
||||
'string', 'str')
|
||||
'string', 'str').replace('integer', 'int')
|
||||
elif '$ref' in parameter['schema']:
|
||||
parameter_type = parameter['schema']['$ref'].replace(
|
||||
'#/components/schemas/', '')
|
||||
@ -469,7 +474,7 @@ response: Response[""" + success_type + """] = await """ + fn_name + """.asyncio
|
||||
parameter_name = parameter['name']
|
||||
if 'type' in parameter['schema']:
|
||||
parameter_type = parameter['schema']['type'].replace(
|
||||
'string', 'str')
|
||||
'string', 'str').replace('integer', 'int')
|
||||
elif '$ref' in parameter['schema']:
|
||||
parameter_type = parameter['schema']['$ref'].replace(
|
||||
'#/components/schemas/', '')
|
||||
@ -500,7 +505,7 @@ response: Response[""" + success_type + """] = await """ + fn_name + """.asyncio
|
||||
parameter_name = parameter['name']
|
||||
if 'type' in parameter['schema']:
|
||||
parameter_type = parameter['schema']['type'].replace(
|
||||
'string', 'str')
|
||||
'string', 'str').replace('integer', 'int')
|
||||
elif '$ref' in parameter['schema']:
|
||||
parameter_type = parameter['schema']['$ref'].replace(
|
||||
'#/components/schemas/', '')
|
||||
@ -531,7 +536,7 @@ response: Response[""" + success_type + """] = await """ + fn_name + """.asyncio
|
||||
parameter_name = parameter['name']
|
||||
if 'type' in parameter['schema']:
|
||||
parameter_type = parameter['schema']['type'].replace(
|
||||
'string', 'str')
|
||||
'string', 'str').replace('integer', 'int')
|
||||
elif '$ref' in parameter['schema']:
|
||||
parameter_type = parameter['schema']['$ref'].replace(
|
||||
'#/components/schemas/', '')
|
||||
@ -567,7 +572,7 @@ response: Response[""" + success_type + """] = await """ + fn_name + """.asyncio
|
||||
parameter_name = parameter['name']
|
||||
if 'type' in parameter['schema']:
|
||||
parameter_type = parameter['schema']['type'].replace(
|
||||
'string', 'str')
|
||||
'string', 'str').replace('integer', 'int')
|
||||
elif '$ref' in parameter['schema']:
|
||||
parameter_type = parameter['schema']['$ref'].replace(
|
||||
'#/components/schemas/', '')
|
||||
@ -602,7 +607,7 @@ response: Response[""" + success_type + """] = await """ + fn_name + """.asyncio
|
||||
parameter_name = parameter['name']
|
||||
if 'type' in parameter['schema']:
|
||||
parameter_type = parameter['schema']['type'].replace(
|
||||
'string', 'str')
|
||||
'string', 'str').replace('integer', 'int')
|
||||
elif '$ref' in parameter['schema']:
|
||||
parameter_type = parameter['schema']['$ref'].replace(
|
||||
'#/components/schemas/', '')
|
||||
@ -628,7 +633,7 @@ response: Response[""" + success_type + """] = await """ + fn_name + """.asyncio
|
||||
return data
|
||||
|
||||
|
||||
def generateTypes(cwd: str, parser: OpenApiParser):
|
||||
def generateTypes(cwd: str, parser: dict):
|
||||
# Make sure we have the directory.
|
||||
path = os.path.join(cwd, 'kittycad', 'models')
|
||||
os.makedirs(path, exist_ok=True)
|
||||
@ -641,7 +646,7 @@ def generateTypes(cwd: str, parser: OpenApiParser):
|
||||
f.write("\n")
|
||||
|
||||
# Generate the types.
|
||||
data = parser.data
|
||||
data = parser
|
||||
schemas = data['components']['schemas']
|
||||
for key in schemas:
|
||||
schema = schemas[key]
|
||||
@ -673,6 +678,7 @@ def generateType(path: str, name: str, schema: dict):
|
||||
|
||||
refs = getRefs(schema)
|
||||
for ref in refs:
|
||||
print(" ref: ", ref, "schema: ", [schema])
|
||||
f.write(
|
||||
"from ..models." +
|
||||
camel_to_snake(ref) +
|
||||
@ -697,7 +703,7 @@ def generateType(path: str, name: str, schema: dict):
|
||||
# Write the property.
|
||||
if property_type == 'string':
|
||||
if 'format' in property_schema:
|
||||
if property_schema['format'] == 'date-time':
|
||||
if property_schema['format'] == 'date-time' or property_schema['format'] == 'partial-date-time':
|
||||
f.write(
|
||||
"\t" +
|
||||
property_name +
|
||||
@ -734,6 +740,19 @@ def generateType(path: str, name: str, schema: dict):
|
||||
": Union[Unset, " +
|
||||
ref +
|
||||
"] = UNSET\n")
|
||||
elif 'allOf' in property_schema:
|
||||
thing = property_schema['allOf'][0]
|
||||
if '$ref' in thing:
|
||||
ref = thing['$ref'].replace(
|
||||
'#/components/schemas/', '')
|
||||
f.write(
|
||||
"\t" +
|
||||
property_name +
|
||||
": Union[Unset, " +
|
||||
ref +
|
||||
"] = UNSET\n")
|
||||
else:
|
||||
raise Exception(" unknown allOf type: ", property_schema)
|
||||
else:
|
||||
raise Exception(" unknown schema: ", property_schema)
|
||||
|
||||
@ -754,7 +773,7 @@ def generateType(path: str, name: str, schema: dict):
|
||||
# Write the property.
|
||||
if property_type == 'string':
|
||||
if 'format' in property_schema:
|
||||
if property_schema['format'] == 'date-time':
|
||||
if property_schema['format'] == 'date-time' or property_schema['format'] == 'partial-date-time':
|
||||
f.write(
|
||||
"\t\t" +
|
||||
property_name +
|
||||
@ -815,6 +834,27 @@ def generateType(path: str, name: str, schema: dict):
|
||||
" = self." +
|
||||
property_name +
|
||||
".value\n")
|
||||
elif 'allOf' in property_schema:
|
||||
thing = property_schema['allOf'][0]
|
||||
if '$ref' in thing:
|
||||
ref = thing['$ref'].replace(
|
||||
'#/components/schemas/', '')
|
||||
f.write(
|
||||
"\t\t" +
|
||||
property_name +
|
||||
": Union[Unset, str] = UNSET\n")
|
||||
f.write(
|
||||
"\t\tif not isinstance(self." +
|
||||
property_name +
|
||||
", Unset):\n")
|
||||
f.write(
|
||||
"\t\t\t" +
|
||||
property_name +
|
||||
" = self." +
|
||||
property_name +
|
||||
".value\n")
|
||||
else:
|
||||
raise Exception(" unknown allOf type: ", property_schema)
|
||||
else:
|
||||
raise Exception(" unknown schema: ", property_schema)
|
||||
|
||||
@ -854,7 +894,7 @@ def generateType(path: str, name: str, schema: dict):
|
||||
# Write the property.
|
||||
if property_type == 'string':
|
||||
if 'format' in property_schema:
|
||||
if property_schema['format'] == 'date-time':
|
||||
if property_schema['format'] == 'date-time' or property_schema['format'] == 'partial-date-time':
|
||||
f.write(
|
||||
"\t\t_" +
|
||||
property_name +
|
||||
@ -928,6 +968,30 @@ def generateType(path: str, name: str, schema: dict):
|
||||
f.write("\t\t\t" + property_name + " = " +
|
||||
ref + "(_" + property_name + ")\n")
|
||||
f.write("\n")
|
||||
elif 'allOf' in property_schema:
|
||||
thing = property_schema['allOf'][0]
|
||||
if '$ref' in thing:
|
||||
ref = thing['$ref'].replace(
|
||||
'#/components/schemas/', '')
|
||||
f.write(
|
||||
"\t\t_" +
|
||||
property_name +
|
||||
" = d.pop(\"" +
|
||||
property_name +
|
||||
"\", UNSET)\n")
|
||||
f.write("\t\t" + property_name +
|
||||
": Union[Unset, " + ref + "]\n")
|
||||
f.write(
|
||||
"\t\tif isinstance(_" +
|
||||
property_name +
|
||||
", Unset):\n")
|
||||
f.write("\t\t\t" + property_name + " = UNSET\n")
|
||||
f.write("\t\telse:\n")
|
||||
f.write("\t\t\t" + property_name + " = " +
|
||||
ref + "(_" + property_name + ")\n")
|
||||
f.write("\n")
|
||||
else:
|
||||
raise Exception(" unknown allOf type: ", property_schema)
|
||||
else:
|
||||
print(" unknown schema: ", property_schema)
|
||||
raise Exception(" unknown schema: ", property_schema)
|
||||
@ -984,9 +1048,19 @@ def generateType(path: str, name: str, schema: dict):
|
||||
f.write("\n")
|
||||
f.write("\tdef __str__(self) -> str:\n")
|
||||
f.write("\t\treturn str(self.value)\n")
|
||||
elif type_name == 'integer':
|
||||
f.write("class " + name + "(int):\n")
|
||||
f.write("\n")
|
||||
f.write("\tdef __int__(self) -> int:\n")
|
||||
f.write("\t\treturn self\n")
|
||||
elif type_name == 'string':
|
||||
f.write("class " + name + "(str):\n")
|
||||
f.write("\n")
|
||||
f.write("\tdef __str__(self) -> str:\n")
|
||||
f.write("\t\treturn self\n")
|
||||
else:
|
||||
print(" unsupported type: ", type_name)
|
||||
return
|
||||
raise Exception(" unsupported type: ", type_name)
|
||||
|
||||
# Close the file.
|
||||
f.close()
|
||||
@ -1004,7 +1078,7 @@ def hasDateTime(schema: dict) -> bool:
|
||||
if has_date_time:
|
||||
return True
|
||||
elif type_name == 'string' and 'format' in schema:
|
||||
if schema['format'] == 'date-time':
|
||||
if schema['format'] == 'date-time' or schema['format'] == 'partial-date-time':
|
||||
return True
|
||||
|
||||
return False
|
||||
@ -1017,15 +1091,23 @@ def getRefs(schema: dict) -> [str]:
|
||||
|
||||
else:
|
||||
# Generate the type.
|
||||
type_name = schema['type']
|
||||
if type_name == 'object':
|
||||
# Iternate over the properties.
|
||||
for property_name in schema['properties']:
|
||||
property_schema = schema['properties'][property_name]
|
||||
schema_refs = getRefs(property_schema)
|
||||
for ref in schema_refs:
|
||||
if ref not in refs:
|
||||
refs.append(ref)
|
||||
if 'type' not in schema:
|
||||
if 'allOf' in schema:
|
||||
for sub_schema in schema['allOf']:
|
||||
refs.extend(getRefs(sub_schema))
|
||||
else:
|
||||
print(" unsupported type: ", schema)
|
||||
raise Exception(" unsupported type: ", schema)
|
||||
else:
|
||||
type_name = schema['type']
|
||||
if type_name == 'object':
|
||||
# Iternate over the properties.
|
||||
for property_name in schema['properties']:
|
||||
property_schema = schema['properties'][property_name]
|
||||
schema_refs = getRefs(property_schema)
|
||||
for ref in schema_refs:
|
||||
if ref not in refs:
|
||||
refs.append(ref)
|
||||
|
||||
return refs
|
||||
|
||||
@ -1055,9 +1137,9 @@ def getEndpointRefs(endpoint: dict, data: dict) -> [str]:
|
||||
else:
|
||||
raise Exception("Unknown array type")
|
||||
else:
|
||||
raise Exception("Unknown type")
|
||||
raise Exception("Unknown type ", json['type'])
|
||||
else:
|
||||
raise Exception("Unknown type")
|
||||
refs.append('dict')
|
||||
elif '$ref' in response:
|
||||
schema_name = response['$ref'].replace(
|
||||
'#/components/responses/', '')
|
||||
@ -1123,6 +1205,8 @@ def getRequestBodyType(endpoint: dict) -> str:
|
||||
return ref
|
||||
elif content_type == 'text/plain':
|
||||
return 'bytes'
|
||||
elif content_type == 'application/octet-stream':
|
||||
return 'bytes'
|
||||
else:
|
||||
print(" unsupported content type: ", content_type)
|
||||
raise Exception("unsupported content type")
|
||||
@ -1132,12 +1216,24 @@ def getRequestBodyType(endpoint: dict) -> str:
|
||||
|
||||
def camel_to_snake(name: str):
|
||||
name = re.sub('(.)([A-Z][a-z]+)', r'\1_\2', name)
|
||||
return re.sub('([a-z0-9])([A-Z])', r'\1_\2', name).lower()
|
||||
return re.sub(
|
||||
'([a-z0-9])([A-Z])',
|
||||
r'\1_\2',
|
||||
name).lower().replace(
|
||||
'-',
|
||||
'_')
|
||||
|
||||
|
||||
def camel_to_screaming_snake(name: str):
|
||||
name = re.sub('(.)([A-Z][a-z]+)', r'\1_\2', name)
|
||||
return re.sub('([a-z0-9])([A-Z])', r'\1_\2', name).replace(' ', '').upper()
|
||||
return re.sub(
|
||||
'([a-z0-9])([A-Z])',
|
||||
r'\1_\2',
|
||||
name).replace(
|
||||
' ',
|
||||
'').upper().replace(
|
||||
'-',
|
||||
'_')
|
||||
|
||||
|
||||
if (__name__ == '__main__'):
|
||||
|
1
kittycad/api/api-calls/__init__.py
Normal file
1
kittycad/api/api-calls/__init__.py
Normal file
@ -0,0 +1 @@
|
||||
""" Contains methods for accessing the api-calls API paths: API calls that have been performed by users can be queried by the API. This is helpful for debugging as well as billing. """
|
113
kittycad/api/api-calls/get_api_call.py
Normal file
113
kittycad/api/api-calls/get_api_call.py
Normal file
@ -0,0 +1,113 @@
|
||||
from typing import Any, Dict, Optional, Union
|
||||
|
||||
import httpx
|
||||
|
||||
from ...client import Client
|
||||
from ...models.api_call_with_price import ApiCallWithPrice
|
||||
from ...models.error import Error
|
||||
from ...types import Response
|
||||
|
||||
def _get_kwargs(
|
||||
id: str,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Dict[str, Any]:
|
||||
url = "{}/api-calls/{id}".format(client.base_url, id=id)
|
||||
|
||||
headers: Dict[str, Any] = client.get_headers()
|
||||
cookies: Dict[str, Any] = client.get_cookies()
|
||||
|
||||
return {
|
||||
"url": url,
|
||||
"headers": headers,
|
||||
"cookies": cookies,
|
||||
"timeout": client.get_timeout(),
|
||||
}
|
||||
|
||||
|
||||
def _parse_response(*, response: httpx.Response) -> Optional[Union[Any, ApiCallWithPrice, Error]]:
|
||||
if response.status_code == 200:
|
||||
response_200 = ApiCallWithPrice.from_dict(response.json())
|
||||
return response_200
|
||||
if response.status_code == 400:
|
||||
response_4XX = Error.from_dict(response.json())
|
||||
return response_4XX
|
||||
if response.status_code == 500:
|
||||
response_5XX = Error.from_dict(response.json())
|
||||
return response_5XX
|
||||
return None
|
||||
|
||||
|
||||
def _build_response(*, response: httpx.Response) -> Response[Union[Any, ApiCallWithPrice, Error]]:
|
||||
return Response(
|
||||
status_code=response.status_code,
|
||||
content=response.content,
|
||||
headers=response.headers,
|
||||
parsed=_parse_response(response=response),
|
||||
)
|
||||
|
||||
|
||||
def sync_detailed(
|
||||
id: str,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Response[Union[Any, ApiCallWithPrice, Error]]:
|
||||
kwargs = _get_kwargs(
|
||||
id=id,
|
||||
client=client,
|
||||
)
|
||||
|
||||
response = httpx.get(
|
||||
verify=client.verify_ssl,
|
||||
**kwargs,
|
||||
)
|
||||
|
||||
return _build_response(response=response)
|
||||
|
||||
|
||||
def sync(
|
||||
id: str,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Optional[Union[Any, ApiCallWithPrice, Error]]:
|
||||
""" This endpoint requires authentication by any KittyCAD user. It returns details of the requested API call for the user.
|
||||
If the user is not authenticated to view the specified API call, then it is not returned.
|
||||
Only KittyCAD employees can view API calls for other users. """
|
||||
|
||||
return sync_detailed(
|
||||
id=id,
|
||||
client=client,
|
||||
).parsed
|
||||
|
||||
|
||||
async def asyncio_detailed(
|
||||
id: str,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Response[Union[Any, ApiCallWithPrice, Error]]:
|
||||
kwargs = _get_kwargs(
|
||||
id=id,
|
||||
client=client,
|
||||
)
|
||||
|
||||
async with httpx.AsyncClient(verify=client.verify_ssl) as _client:
|
||||
response = await _client.get(**kwargs)
|
||||
|
||||
return _build_response(response=response)
|
||||
|
||||
|
||||
async def asyncio(
|
||||
id: str,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Optional[Union[Any, ApiCallWithPrice, Error]]:
|
||||
""" This endpoint requires authentication by any KittyCAD user. It returns details of the requested API call for the user.
|
||||
If the user is not authenticated to view the specified API call, then it is not returned.
|
||||
Only KittyCAD employees can view API calls for other users. """
|
||||
|
||||
return (
|
||||
await asyncio_detailed(
|
||||
id=id,
|
||||
client=client,
|
||||
)
|
||||
).parsed
|
@ -3,15 +3,16 @@ from typing import Any, Dict, Optional, Union
|
||||
import httpx
|
||||
|
||||
from ...client import Client
|
||||
from ...models.gpu_device import GPUDevice
|
||||
from ...models.error_message import ErrorMessage
|
||||
from ...models.api_call_with_price import ApiCallWithPrice
|
||||
from ...models.error import Error
|
||||
from ...types import Response
|
||||
|
||||
def _get_kwargs(
|
||||
id: str,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Dict[str, Any]:
|
||||
url = "{}/_internal/gpu/devices".format(client.base_url)
|
||||
url = "{}/user/api-calls/{id}".format(client.base_url, id=id)
|
||||
|
||||
headers: Dict[str, Any] = client.get_headers()
|
||||
cookies: Dict[str, Any] = client.get_cookies()
|
||||
@ -24,23 +25,20 @@ def _get_kwargs(
|
||||
}
|
||||
|
||||
|
||||
def _parse_response(*, response: httpx.Response) -> Optional[Union[Any, [GPUDevice], ErrorMessage]]:
|
||||
def _parse_response(*, response: httpx.Response) -> Optional[Union[Any, ApiCallWithPrice, Error]]:
|
||||
if response.status_code == 200:
|
||||
response_200 = [
|
||||
GPUDevice.from_dict(item)
|
||||
for item in response.json()
|
||||
]
|
||||
response_200 = ApiCallWithPrice.from_dict(response.json())
|
||||
return response_200
|
||||
if response.status_code == 401:
|
||||
response_401 = ErrorMessage.from_dict(response.json())
|
||||
return response_401
|
||||
if response.status_code == 403:
|
||||
response_403 = ErrorMessage.from_dict(response.json())
|
||||
return response_403
|
||||
if response.status_code == 400:
|
||||
response_4XX = Error.from_dict(response.json())
|
||||
return response_4XX
|
||||
if response.status_code == 500:
|
||||
response_5XX = Error.from_dict(response.json())
|
||||
return response_5XX
|
||||
return None
|
||||
|
||||
|
||||
def _build_response(*, response: httpx.Response) -> Response[Union[Any, [GPUDevice], ErrorMessage]]:
|
||||
def _build_response(*, response: httpx.Response) -> Response[Union[Any, ApiCallWithPrice, Error]]:
|
||||
return Response(
|
||||
status_code=response.status_code,
|
||||
content=response.content,
|
||||
@ -50,10 +48,12 @@ def _build_response(*, response: httpx.Response) -> Response[Union[Any, [GPUDevi
|
||||
|
||||
|
||||
def sync_detailed(
|
||||
id: str,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Response[Union[Any, [GPUDevice], ErrorMessage]]:
|
||||
) -> Response[Union[Any, ApiCallWithPrice, Error]]:
|
||||
kwargs = _get_kwargs(
|
||||
id=id,
|
||||
client=client,
|
||||
)
|
||||
|
||||
@ -66,21 +66,25 @@ def sync_detailed(
|
||||
|
||||
|
||||
def sync(
|
||||
id: str,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Optional[Union[Any, [GPUDevice], ErrorMessage]]:
|
||||
""" Get information about GPU devices on this server. This is primarily used for debugging. This endpoint can only be used by specific KittyCAD employees. """
|
||||
) -> Optional[Union[Any, ApiCallWithPrice, Error]]:
|
||||
""" This endpoint requires authentication by any KittyCAD user. It returns details of the requested API call for the user. """
|
||||
|
||||
return sync_detailed(
|
||||
id=id,
|
||||
client=client,
|
||||
).parsed
|
||||
|
||||
|
||||
async def asyncio_detailed(
|
||||
id: str,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Response[Union[Any, [GPUDevice], ErrorMessage]]:
|
||||
) -> Response[Union[Any, ApiCallWithPrice, Error]]:
|
||||
kwargs = _get_kwargs(
|
||||
id=id,
|
||||
client=client,
|
||||
)
|
||||
|
||||
@ -91,13 +95,15 @@ async def asyncio_detailed(
|
||||
|
||||
|
||||
async def asyncio(
|
||||
id: str,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Optional[Union[Any, [GPUDevice], ErrorMessage]]:
|
||||
""" Get information about GPU devices on this server. This is primarily used for debugging. This endpoint can only be used by specific KittyCAD employees. """
|
||||
) -> Optional[Union[Any, ApiCallWithPrice, Error]]:
|
||||
""" This endpoint requires authentication by any KittyCAD user. It returns details of the requested API call for the user. """
|
||||
|
||||
return (
|
||||
await asyncio_detailed(
|
||||
id=id,
|
||||
client=client,
|
||||
)
|
||||
).parsed
|
113
kittycad/api/api-calls/get_api_call_metrics.py
Normal file
113
kittycad/api/api-calls/get_api_call_metrics.py
Normal file
@ -0,0 +1,113 @@
|
||||
from typing import Any, Dict, Optional, Union
|
||||
|
||||
import httpx
|
||||
|
||||
from ...client import Client
|
||||
from ...models.api_call_query_group import ApiCallQueryGroup
|
||||
from ...models.error import Error
|
||||
from ...models.api_call_query_group_by import ApiCallQueryGroupBy
|
||||
from ...types import Response
|
||||
|
||||
def _get_kwargs(
|
||||
group_by: ApiCallQueryGroupBy,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Dict[str, Any]:
|
||||
url = "{}/api-call-metrics".format(client.base_url, group_by=group_by)
|
||||
|
||||
headers: Dict[str, Any] = client.get_headers()
|
||||
cookies: Dict[str, Any] = client.get_cookies()
|
||||
|
||||
return {
|
||||
"url": url,
|
||||
"headers": headers,
|
||||
"cookies": cookies,
|
||||
"timeout": client.get_timeout(),
|
||||
}
|
||||
|
||||
|
||||
def _parse_response(*, response: httpx.Response) -> Optional[Union[Any, [ApiCallQueryGroup], Error]]:
|
||||
if response.status_code == 200:
|
||||
response_200 = [
|
||||
ApiCallQueryGroup.from_dict(item)
|
||||
for item in response.json()
|
||||
]
|
||||
return response_200
|
||||
if response.status_code == 400:
|
||||
response_4XX = Error.from_dict(response.json())
|
||||
return response_4XX
|
||||
if response.status_code == 500:
|
||||
response_5XX = Error.from_dict(response.json())
|
||||
return response_5XX
|
||||
return None
|
||||
|
||||
|
||||
def _build_response(*, response: httpx.Response) -> Response[Union[Any, [ApiCallQueryGroup], Error]]:
|
||||
return Response(
|
||||
status_code=response.status_code,
|
||||
content=response.content,
|
||||
headers=response.headers,
|
||||
parsed=_parse_response(response=response),
|
||||
)
|
||||
|
||||
|
||||
def sync_detailed(
|
||||
group_by: ApiCallQueryGroupBy,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Response[Union[Any, [ApiCallQueryGroup], Error]]:
|
||||
kwargs = _get_kwargs(
|
||||
group_by=group_by,
|
||||
client=client,
|
||||
)
|
||||
|
||||
response = httpx.get(
|
||||
verify=client.verify_ssl,
|
||||
**kwargs,
|
||||
)
|
||||
|
||||
return _build_response(response=response)
|
||||
|
||||
|
||||
def sync(
|
||||
group_by: ApiCallQueryGroupBy,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Optional[Union[Any, [ApiCallQueryGroup], Error]]:
|
||||
""" This endpoint requires authentication by a KittyCAD employee. The API calls are grouped by the parameter passed. """
|
||||
|
||||
return sync_detailed(
|
||||
group_by=group_by,
|
||||
client=client,
|
||||
).parsed
|
||||
|
||||
|
||||
async def asyncio_detailed(
|
||||
group_by: ApiCallQueryGroupBy,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Response[Union[Any, [ApiCallQueryGroup], Error]]:
|
||||
kwargs = _get_kwargs(
|
||||
group_by=group_by,
|
||||
client=client,
|
||||
)
|
||||
|
||||
async with httpx.AsyncClient(verify=client.verify_ssl) as _client:
|
||||
response = await _client.get(**kwargs)
|
||||
|
||||
return _build_response(response=response)
|
||||
|
||||
|
||||
async def asyncio(
|
||||
group_by: ApiCallQueryGroupBy,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Optional[Union[Any, [ApiCallQueryGroup], Error]]:
|
||||
""" This endpoint requires authentication by a KittyCAD employee. The API calls are grouped by the parameter passed. """
|
||||
|
||||
return (
|
||||
await asyncio_detailed(
|
||||
group_by=group_by,
|
||||
client=client,
|
||||
)
|
||||
).parsed
|
131
kittycad/api/api-calls/list_api_calls.py
Normal file
131
kittycad/api/api-calls/list_api_calls.py
Normal file
@ -0,0 +1,131 @@
|
||||
from typing import Any, Dict, Optional, Union
|
||||
|
||||
import httpx
|
||||
|
||||
from ...client import Client
|
||||
from ...models.api_call_with_price import ApiCallWithPrice
|
||||
from ...models.error import Error
|
||||
from ...models.created_at_sort_mode import CreatedAtSortMode
|
||||
from ...types import Response
|
||||
|
||||
def _get_kwargs(
|
||||
limit: int,
|
||||
page_token: str,
|
||||
sort_by: CreatedAtSortMode,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Dict[str, Any]:
|
||||
url = "{}/api-calls".format(client.base_url, limit=limit, page_token=page_token, sort_by=sort_by)
|
||||
|
||||
headers: Dict[str, Any] = client.get_headers()
|
||||
cookies: Dict[str, Any] = client.get_cookies()
|
||||
|
||||
return {
|
||||
"url": url,
|
||||
"headers": headers,
|
||||
"cookies": cookies,
|
||||
"timeout": client.get_timeout(),
|
||||
}
|
||||
|
||||
|
||||
def _parse_response(*, response: httpx.Response) -> Optional[Union[Any, [ApiCallWithPrice], Error]]:
|
||||
if response.status_code == 200:
|
||||
response_200 = [
|
||||
ApiCallWithPrice.from_dict(item)
|
||||
for item in response.json()
|
||||
]
|
||||
return response_200
|
||||
if response.status_code == 400:
|
||||
response_4XX = Error.from_dict(response.json())
|
||||
return response_4XX
|
||||
if response.status_code == 500:
|
||||
response_5XX = Error.from_dict(response.json())
|
||||
return response_5XX
|
||||
return None
|
||||
|
||||
|
||||
def _build_response(*, response: httpx.Response) -> Response[Union[Any, [ApiCallWithPrice], Error]]:
|
||||
return Response(
|
||||
status_code=response.status_code,
|
||||
content=response.content,
|
||||
headers=response.headers,
|
||||
parsed=_parse_response(response=response),
|
||||
)
|
||||
|
||||
|
||||
def sync_detailed(
|
||||
limit: int,
|
||||
page_token: str,
|
||||
sort_by: CreatedAtSortMode,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Response[Union[Any, [ApiCallWithPrice], Error]]:
|
||||
kwargs = _get_kwargs(
|
||||
limit=limit,
|
||||
page_token=page_token,
|
||||
sort_by=sort_by,
|
||||
client=client,
|
||||
)
|
||||
|
||||
response = httpx.get(
|
||||
verify=client.verify_ssl,
|
||||
**kwargs,
|
||||
)
|
||||
|
||||
return _build_response(response=response)
|
||||
|
||||
|
||||
def sync(
|
||||
limit: int,
|
||||
page_token: str,
|
||||
sort_by: CreatedAtSortMode,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Optional[Union[Any, [ApiCallWithPrice], Error]]:
|
||||
""" This endpoint requires authentication by a KittyCAD employee. The API calls are returned in order of creation, with the most recently created API calls first. """
|
||||
|
||||
return sync_detailed(
|
||||
limit=limit,
|
||||
page_token=page_token,
|
||||
sort_by=sort_by,
|
||||
client=client,
|
||||
).parsed
|
||||
|
||||
|
||||
async def asyncio_detailed(
|
||||
limit: int,
|
||||
page_token: str,
|
||||
sort_by: CreatedAtSortMode,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Response[Union[Any, [ApiCallWithPrice], Error]]:
|
||||
kwargs = _get_kwargs(
|
||||
limit=limit,
|
||||
page_token=page_token,
|
||||
sort_by=sort_by,
|
||||
client=client,
|
||||
)
|
||||
|
||||
async with httpx.AsyncClient(verify=client.verify_ssl) as _client:
|
||||
response = await _client.get(**kwargs)
|
||||
|
||||
return _build_response(response=response)
|
||||
|
||||
|
||||
async def asyncio(
|
||||
limit: int,
|
||||
page_token: str,
|
||||
sort_by: CreatedAtSortMode,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Optional[Union[Any, [ApiCallWithPrice], Error]]:
|
||||
""" This endpoint requires authentication by a KittyCAD employee. The API calls are returned in order of creation, with the most recently created API calls first. """
|
||||
|
||||
return (
|
||||
await asyncio_detailed(
|
||||
limit=limit,
|
||||
page_token=page_token,
|
||||
sort_by=sort_by,
|
||||
client=client,
|
||||
)
|
||||
).parsed
|
146
kittycad/api/api-calls/list_api_calls_for_user.py
Normal file
146
kittycad/api/api-calls/list_api_calls_for_user.py
Normal file
@ -0,0 +1,146 @@
|
||||
from typing import Any, Dict, Optional, Union
|
||||
|
||||
import httpx
|
||||
|
||||
from ...client import Client
|
||||
from ...models.api_call_with_price import ApiCallWithPrice
|
||||
from ...models.error import Error
|
||||
from ...models.created_at_sort_mode import CreatedAtSortMode
|
||||
from ...types import Response
|
||||
|
||||
def _get_kwargs(
|
||||
id: str,
|
||||
limit: int,
|
||||
page_token: str,
|
||||
sort_by: CreatedAtSortMode,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Dict[str, Any]:
|
||||
url = "{}/users/{id}/api-calls".format(client.base_url, id=id, limit=limit, page_token=page_token, sort_by=sort_by)
|
||||
|
||||
headers: Dict[str, Any] = client.get_headers()
|
||||
cookies: Dict[str, Any] = client.get_cookies()
|
||||
|
||||
return {
|
||||
"url": url,
|
||||
"headers": headers,
|
||||
"cookies": cookies,
|
||||
"timeout": client.get_timeout(),
|
||||
}
|
||||
|
||||
|
||||
def _parse_response(*, response: httpx.Response) -> Optional[Union[Any, [ApiCallWithPrice], Error]]:
|
||||
if response.status_code == 200:
|
||||
response_200 = [
|
||||
ApiCallWithPrice.from_dict(item)
|
||||
for item in response.json()
|
||||
]
|
||||
return response_200
|
||||
if response.status_code == 400:
|
||||
response_4XX = Error.from_dict(response.json())
|
||||
return response_4XX
|
||||
if response.status_code == 500:
|
||||
response_5XX = Error.from_dict(response.json())
|
||||
return response_5XX
|
||||
return None
|
||||
|
||||
|
||||
def _build_response(*, response: httpx.Response) -> Response[Union[Any, [ApiCallWithPrice], Error]]:
|
||||
return Response(
|
||||
status_code=response.status_code,
|
||||
content=response.content,
|
||||
headers=response.headers,
|
||||
parsed=_parse_response(response=response),
|
||||
)
|
||||
|
||||
|
||||
def sync_detailed(
|
||||
id: str,
|
||||
limit: int,
|
||||
page_token: str,
|
||||
sort_by: CreatedAtSortMode,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Response[Union[Any, [ApiCallWithPrice], Error]]:
|
||||
kwargs = _get_kwargs(
|
||||
id=id,
|
||||
limit=limit,
|
||||
page_token=page_token,
|
||||
sort_by=sort_by,
|
||||
client=client,
|
||||
)
|
||||
|
||||
response = httpx.get(
|
||||
verify=client.verify_ssl,
|
||||
**kwargs,
|
||||
)
|
||||
|
||||
return _build_response(response=response)
|
||||
|
||||
|
||||
def sync(
|
||||
id: str,
|
||||
limit: int,
|
||||
page_token: str,
|
||||
sort_by: CreatedAtSortMode,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Optional[Union[Any, [ApiCallWithPrice], Error]]:
|
||||
""" This endpoint requires authentication by any KittyCAD user. It returns the API calls for the authenticated user if "me" is passed as the user id.
|
||||
Alternatively, you can use the `/user/api-calls` endpoint to get the API calls for your user.
|
||||
If the authenticated user is a KittyCAD employee, then the API calls are returned for the user specified by the user id.
|
||||
The API calls are returned in order of creation, with the most recently created API calls first. """
|
||||
|
||||
return sync_detailed(
|
||||
id=id,
|
||||
limit=limit,
|
||||
page_token=page_token,
|
||||
sort_by=sort_by,
|
||||
client=client,
|
||||
).parsed
|
||||
|
||||
|
||||
async def asyncio_detailed(
|
||||
id: str,
|
||||
limit: int,
|
||||
page_token: str,
|
||||
sort_by: CreatedAtSortMode,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Response[Union[Any, [ApiCallWithPrice], Error]]:
|
||||
kwargs = _get_kwargs(
|
||||
id=id,
|
||||
limit=limit,
|
||||
page_token=page_token,
|
||||
sort_by=sort_by,
|
||||
client=client,
|
||||
)
|
||||
|
||||
async with httpx.AsyncClient(verify=client.verify_ssl) as _client:
|
||||
response = await _client.get(**kwargs)
|
||||
|
||||
return _build_response(response=response)
|
||||
|
||||
|
||||
async def asyncio(
|
||||
id: str,
|
||||
limit: int,
|
||||
page_token: str,
|
||||
sort_by: CreatedAtSortMode,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Optional[Union[Any, [ApiCallWithPrice], Error]]:
|
||||
""" This endpoint requires authentication by any KittyCAD user. It returns the API calls for the authenticated user if "me" is passed as the user id.
|
||||
Alternatively, you can use the `/user/api-calls` endpoint to get the API calls for your user.
|
||||
If the authenticated user is a KittyCAD employee, then the API calls are returned for the user specified by the user id.
|
||||
The API calls are returned in order of creation, with the most recently created API calls first. """
|
||||
|
||||
return (
|
||||
await asyncio_detailed(
|
||||
id=id,
|
||||
limit=limit,
|
||||
page_token=page_token,
|
||||
sort_by=sort_by,
|
||||
client=client,
|
||||
)
|
||||
).parsed
|
133
kittycad/api/api-calls/user_list_api_calls.py
Normal file
133
kittycad/api/api-calls/user_list_api_calls.py
Normal file
@ -0,0 +1,133 @@
|
||||
from typing import Any, Dict, Optional, Union
|
||||
|
||||
import httpx
|
||||
|
||||
from ...client import Client
|
||||
from ...models.api_call_with_price import ApiCallWithPrice
|
||||
from ...models.error import Error
|
||||
from ...models.created_at_sort_mode import CreatedAtSortMode
|
||||
from ...types import Response
|
||||
|
||||
def _get_kwargs(
|
||||
limit: int,
|
||||
page_token: str,
|
||||
sort_by: CreatedAtSortMode,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Dict[str, Any]:
|
||||
url = "{}/user/api-calls".format(client.base_url, limit=limit, page_token=page_token, sort_by=sort_by)
|
||||
|
||||
headers: Dict[str, Any] = client.get_headers()
|
||||
cookies: Dict[str, Any] = client.get_cookies()
|
||||
|
||||
return {
|
||||
"url": url,
|
||||
"headers": headers,
|
||||
"cookies": cookies,
|
||||
"timeout": client.get_timeout(),
|
||||
}
|
||||
|
||||
|
||||
def _parse_response(*, response: httpx.Response) -> Optional[Union[Any, [ApiCallWithPrice], Error]]:
|
||||
if response.status_code == 200:
|
||||
response_200 = [
|
||||
ApiCallWithPrice.from_dict(item)
|
||||
for item in response.json()
|
||||
]
|
||||
return response_200
|
||||
if response.status_code == 400:
|
||||
response_4XX = Error.from_dict(response.json())
|
||||
return response_4XX
|
||||
if response.status_code == 500:
|
||||
response_5XX = Error.from_dict(response.json())
|
||||
return response_5XX
|
||||
return None
|
||||
|
||||
|
||||
def _build_response(*, response: httpx.Response) -> Response[Union[Any, [ApiCallWithPrice], Error]]:
|
||||
return Response(
|
||||
status_code=response.status_code,
|
||||
content=response.content,
|
||||
headers=response.headers,
|
||||
parsed=_parse_response(response=response),
|
||||
)
|
||||
|
||||
|
||||
def sync_detailed(
|
||||
limit: int,
|
||||
page_token: str,
|
||||
sort_by: CreatedAtSortMode,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Response[Union[Any, [ApiCallWithPrice], Error]]:
|
||||
kwargs = _get_kwargs(
|
||||
limit=limit,
|
||||
page_token=page_token,
|
||||
sort_by=sort_by,
|
||||
client=client,
|
||||
)
|
||||
|
||||
response = httpx.get(
|
||||
verify=client.verify_ssl,
|
||||
**kwargs,
|
||||
)
|
||||
|
||||
return _build_response(response=response)
|
||||
|
||||
|
||||
def sync(
|
||||
limit: int,
|
||||
page_token: str,
|
||||
sort_by: CreatedAtSortMode,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Optional[Union[Any, [ApiCallWithPrice], Error]]:
|
||||
""" This endpoint requires authentication by any KittyCAD user. It returns the API calls for the authenticated user.
|
||||
The API calls are returned in order of creation, with the most recently created API calls first. """
|
||||
|
||||
return sync_detailed(
|
||||
limit=limit,
|
||||
page_token=page_token,
|
||||
sort_by=sort_by,
|
||||
client=client,
|
||||
).parsed
|
||||
|
||||
|
||||
async def asyncio_detailed(
|
||||
limit: int,
|
||||
page_token: str,
|
||||
sort_by: CreatedAtSortMode,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Response[Union[Any, [ApiCallWithPrice], Error]]:
|
||||
kwargs = _get_kwargs(
|
||||
limit=limit,
|
||||
page_token=page_token,
|
||||
sort_by=sort_by,
|
||||
client=client,
|
||||
)
|
||||
|
||||
async with httpx.AsyncClient(verify=client.verify_ssl) as _client:
|
||||
response = await _client.get(**kwargs)
|
||||
|
||||
return _build_response(response=response)
|
||||
|
||||
|
||||
async def asyncio(
|
||||
limit: int,
|
||||
page_token: str,
|
||||
sort_by: CreatedAtSortMode,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Optional[Union[Any, [ApiCallWithPrice], Error]]:
|
||||
""" This endpoint requires authentication by any KittyCAD user. It returns the API calls for the authenticated user.
|
||||
The API calls are returned in order of creation, with the most recently created API calls first. """
|
||||
|
||||
return (
|
||||
await asyncio_detailed(
|
||||
limit=limit,
|
||||
page_token=page_token,
|
||||
sort_by=sort_by,
|
||||
client=client,
|
||||
)
|
||||
).parsed
|
1
kittycad/api/api-tokens/__init__.py
Normal file
1
kittycad/api/api-tokens/__init__.py
Normal file
@ -0,0 +1 @@
|
||||
""" Contains methods for accessing the api-tokens API paths: API tokens allow users to call the API outside of their session token that is used as a cookie in the user interface. Users can create, delete, and list their API tokens. But, of course, you need an API token to do this, so first be sure to generate one in the account UI. """
|
@ -3,15 +3,15 @@ from typing import Any, Dict, Optional, Union
|
||||
import httpx
|
||||
|
||||
from ...client import Client
|
||||
from ...models.file_conversion import FileConversion
|
||||
from ...models.error_message import ErrorMessage
|
||||
from ...models.api_token import ApiToken
|
||||
from ...models.error import Error
|
||||
from ...types import Response
|
||||
|
||||
def _get_kwargs(
|
||||
*,
|
||||
client: Client,
|
||||
) -> Dict[str, Any]:
|
||||
url = "{}/_internal/async/conversions/stop".format(client.base_url)
|
||||
url = "{}/user/api-tokens".format(client.base_url)
|
||||
|
||||
headers: Dict[str, Any] = client.get_headers()
|
||||
cookies: Dict[str, Any] = client.get_cookies()
|
||||
@ -24,23 +24,20 @@ def _get_kwargs(
|
||||
}
|
||||
|
||||
|
||||
def _parse_response(*, response: httpx.Response) -> Optional[Union[Any, FileConversion, ErrorMessage]]:
|
||||
if response.status_code == 200:
|
||||
response_200 = FileConversion.from_dict(response.json())
|
||||
return response_200
|
||||
if response.status_code == 401:
|
||||
response_401 = ErrorMessage.from_dict(response.json())
|
||||
return response_401
|
||||
if response.status_code == 403:
|
||||
response_403 = ErrorMessage.from_dict(response.json())
|
||||
return response_403
|
||||
if response.status_code == 404:
|
||||
response_404 = ErrorMessage.from_dict(response.json())
|
||||
return response_404
|
||||
def _parse_response(*, response: httpx.Response) -> Optional[Union[Any, ApiToken, Error]]:
|
||||
if response.status_code == 201:
|
||||
response_201 = ApiToken.from_dict(response.json())
|
||||
return response_201
|
||||
if response.status_code == 400:
|
||||
response_4XX = Error.from_dict(response.json())
|
||||
return response_4XX
|
||||
if response.status_code == 500:
|
||||
response_5XX = Error.from_dict(response.json())
|
||||
return response_5XX
|
||||
return None
|
||||
|
||||
|
||||
def _build_response(*, response: httpx.Response) -> Response[Union[Any, FileConversion, ErrorMessage]]:
|
||||
def _build_response(*, response: httpx.Response) -> Response[Union[Any, ApiToken, Error]]:
|
||||
return Response(
|
||||
status_code=response.status_code,
|
||||
content=response.content,
|
||||
@ -52,7 +49,7 @@ def _build_response(*, response: httpx.Response) -> Response[Union[Any, FileConv
|
||||
def sync_detailed(
|
||||
*,
|
||||
client: Client,
|
||||
) -> Response[Union[Any, FileConversion, ErrorMessage]]:
|
||||
) -> Response[Union[Any, ApiToken, Error]]:
|
||||
kwargs = _get_kwargs(
|
||||
client=client,
|
||||
)
|
||||
@ -68,8 +65,8 @@ def sync_detailed(
|
||||
def sync(
|
||||
*,
|
||||
client: Client,
|
||||
) -> Optional[Union[Any, FileConversion, ErrorMessage]]:
|
||||
""" Stop all async conversions that are currently running. This endpoint can only be used by specific KittyCAD employees. """
|
||||
) -> Optional[Union[Any, ApiToken, Error]]:
|
||||
""" This endpoint requires authentication by any KittyCAD user. It creates a new API token for the authenticated user. """
|
||||
|
||||
return sync_detailed(
|
||||
client=client,
|
||||
@ -79,7 +76,7 @@ def sync(
|
||||
async def asyncio_detailed(
|
||||
*,
|
||||
client: Client,
|
||||
) -> Response[Union[Any, FileConversion, ErrorMessage]]:
|
||||
) -> Response[Union[Any, ApiToken, Error]]:
|
||||
kwargs = _get_kwargs(
|
||||
client=client,
|
||||
)
|
||||
@ -93,8 +90,8 @@ async def asyncio_detailed(
|
||||
async def asyncio(
|
||||
*,
|
||||
client: Client,
|
||||
) -> Optional[Union[Any, FileConversion, ErrorMessage]]:
|
||||
""" Stop all async conversions that are currently running. This endpoint can only be used by specific KittyCAD employees. """
|
||||
) -> Optional[Union[Any, ApiToken, Error]]:
|
||||
""" This endpoint requires authentication by any KittyCAD user. It creates a new API token for the authenticated user. """
|
||||
|
||||
return (
|
||||
await asyncio_detailed(
|
110
kittycad/api/api-tokens/delete_api_token_for_user.py
Normal file
110
kittycad/api/api-tokens/delete_api_token_for_user.py
Normal file
@ -0,0 +1,110 @@
|
||||
from typing import Any, Dict, Optional, Union
|
||||
|
||||
import httpx
|
||||
|
||||
from ...client import Client
|
||||
from ...models.error import Error
|
||||
from ...types import Response
|
||||
|
||||
def _get_kwargs(
|
||||
token: str,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Dict[str, Any]:
|
||||
url = "{}/user/api-tokens/{token}".format(client.base_url, token=token)
|
||||
|
||||
headers: Dict[str, Any] = client.get_headers()
|
||||
cookies: Dict[str, Any] = client.get_cookies()
|
||||
|
||||
return {
|
||||
"url": url,
|
||||
"headers": headers,
|
||||
"cookies": cookies,
|
||||
"timeout": client.get_timeout(),
|
||||
}
|
||||
|
||||
|
||||
def _parse_response(*, response: httpx.Response) -> Optional[Union[Any, Error]]:
|
||||
if response.status_code == 204:
|
||||
response_204 = None
|
||||
return response_204
|
||||
if response.status_code == 400:
|
||||
response_4XX = Error.from_dict(response.json())
|
||||
return response_4XX
|
||||
if response.status_code == 500:
|
||||
response_5XX = Error.from_dict(response.json())
|
||||
return response_5XX
|
||||
return None
|
||||
|
||||
|
||||
def _build_response(*, response: httpx.Response) -> Response[Union[Any, Error]]:
|
||||
return Response(
|
||||
status_code=response.status_code,
|
||||
content=response.content,
|
||||
headers=response.headers,
|
||||
parsed=_parse_response(response=response),
|
||||
)
|
||||
|
||||
|
||||
def sync_detailed(
|
||||
token: str,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Response[Union[Any, Error]]:
|
||||
kwargs = _get_kwargs(
|
||||
token=token,
|
||||
client=client,
|
||||
)
|
||||
|
||||
response = httpx.delete(
|
||||
verify=client.verify_ssl,
|
||||
**kwargs,
|
||||
)
|
||||
|
||||
return _build_response(response=response)
|
||||
|
||||
|
||||
def sync(
|
||||
token: str,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Optional[Union[Any, Error]]:
|
||||
""" This endpoint requires authentication by any KittyCAD user. It deletes the requested API token for the user.
|
||||
This endpoint does not actually delete the API token from the database. It merely marks the token as invalid. We still want to keep the token in the database for historical purposes. """
|
||||
|
||||
return sync_detailed(
|
||||
token=token,
|
||||
client=client,
|
||||
).parsed
|
||||
|
||||
|
||||
async def asyncio_detailed(
|
||||
token: str,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Response[Union[Any, Error]]:
|
||||
kwargs = _get_kwargs(
|
||||
token=token,
|
||||
client=client,
|
||||
)
|
||||
|
||||
async with httpx.AsyncClient(verify=client.verify_ssl) as _client:
|
||||
response = await _client.delete(**kwargs)
|
||||
|
||||
return _build_response(response=response)
|
||||
|
||||
|
||||
async def asyncio(
|
||||
token: str,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Optional[Union[Any, Error]]:
|
||||
""" This endpoint requires authentication by any KittyCAD user. It deletes the requested API token for the user.
|
||||
This endpoint does not actually delete the API token from the database. It merely marks the token as invalid. We still want to keep the token in the database for historical purposes. """
|
||||
|
||||
return (
|
||||
await asyncio_detailed(
|
||||
token=token,
|
||||
client=client,
|
||||
)
|
||||
).parsed
|
109
kittycad/api/api-tokens/get_api_token_for_user.py
Normal file
109
kittycad/api/api-tokens/get_api_token_for_user.py
Normal file
@ -0,0 +1,109 @@
|
||||
from typing import Any, Dict, Optional, Union
|
||||
|
||||
import httpx
|
||||
|
||||
from ...client import Client
|
||||
from ...models.api_token import ApiToken
|
||||
from ...models.error import Error
|
||||
from ...types import Response
|
||||
|
||||
def _get_kwargs(
|
||||
token: str,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Dict[str, Any]:
|
||||
url = "{}/user/api-tokens/{token}".format(client.base_url, token=token)
|
||||
|
||||
headers: Dict[str, Any] = client.get_headers()
|
||||
cookies: Dict[str, Any] = client.get_cookies()
|
||||
|
||||
return {
|
||||
"url": url,
|
||||
"headers": headers,
|
||||
"cookies": cookies,
|
||||
"timeout": client.get_timeout(),
|
||||
}
|
||||
|
||||
|
||||
def _parse_response(*, response: httpx.Response) -> Optional[Union[Any, ApiToken, Error]]:
|
||||
if response.status_code == 200:
|
||||
response_200 = ApiToken.from_dict(response.json())
|
||||
return response_200
|
||||
if response.status_code == 400:
|
||||
response_4XX = Error.from_dict(response.json())
|
||||
return response_4XX
|
||||
if response.status_code == 500:
|
||||
response_5XX = Error.from_dict(response.json())
|
||||
return response_5XX
|
||||
return None
|
||||
|
||||
|
||||
def _build_response(*, response: httpx.Response) -> Response[Union[Any, ApiToken, Error]]:
|
||||
return Response(
|
||||
status_code=response.status_code,
|
||||
content=response.content,
|
||||
headers=response.headers,
|
||||
parsed=_parse_response(response=response),
|
||||
)
|
||||
|
||||
|
||||
def sync_detailed(
|
||||
token: str,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Response[Union[Any, ApiToken, Error]]:
|
||||
kwargs = _get_kwargs(
|
||||
token=token,
|
||||
client=client,
|
||||
)
|
||||
|
||||
response = httpx.get(
|
||||
verify=client.verify_ssl,
|
||||
**kwargs,
|
||||
)
|
||||
|
||||
return _build_response(response=response)
|
||||
|
||||
|
||||
def sync(
|
||||
token: str,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Optional[Union[Any, ApiToken, Error]]:
|
||||
""" This endpoint requires authentication by any KittyCAD user. It returns details of the requested API token for the user. """
|
||||
|
||||
return sync_detailed(
|
||||
token=token,
|
||||
client=client,
|
||||
).parsed
|
||||
|
||||
|
||||
async def asyncio_detailed(
|
||||
token: str,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Response[Union[Any, ApiToken, Error]]:
|
||||
kwargs = _get_kwargs(
|
||||
token=token,
|
||||
client=client,
|
||||
)
|
||||
|
||||
async with httpx.AsyncClient(verify=client.verify_ssl) as _client:
|
||||
response = await _client.get(**kwargs)
|
||||
|
||||
return _build_response(response=response)
|
||||
|
||||
|
||||
async def asyncio(
|
||||
token: str,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Optional[Union[Any, ApiToken, Error]]:
|
||||
""" This endpoint requires authentication by any KittyCAD user. It returns details of the requested API token for the user. """
|
||||
|
||||
return (
|
||||
await asyncio_detailed(
|
||||
token=token,
|
||||
client=client,
|
||||
)
|
||||
).parsed
|
133
kittycad/api/api-tokens/list_api_tokens_for_user.py
Normal file
133
kittycad/api/api-tokens/list_api_tokens_for_user.py
Normal file
@ -0,0 +1,133 @@
|
||||
from typing import Any, Dict, Optional, Union
|
||||
|
||||
import httpx
|
||||
|
||||
from ...client import Client
|
||||
from ...models.api_token import ApiToken
|
||||
from ...models.error import Error
|
||||
from ...models.created_at_sort_mode import CreatedAtSortMode
|
||||
from ...types import Response
|
||||
|
||||
def _get_kwargs(
|
||||
limit: int,
|
||||
page_token: str,
|
||||
sort_by: CreatedAtSortMode,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Dict[str, Any]:
|
||||
url = "{}/user/api-tokens".format(client.base_url, limit=limit, page_token=page_token, sort_by=sort_by)
|
||||
|
||||
headers: Dict[str, Any] = client.get_headers()
|
||||
cookies: Dict[str, Any] = client.get_cookies()
|
||||
|
||||
return {
|
||||
"url": url,
|
||||
"headers": headers,
|
||||
"cookies": cookies,
|
||||
"timeout": client.get_timeout(),
|
||||
}
|
||||
|
||||
|
||||
def _parse_response(*, response: httpx.Response) -> Optional[Union[Any, [ApiToken], Error]]:
|
||||
if response.status_code == 200:
|
||||
response_200 = [
|
||||
ApiToken.from_dict(item)
|
||||
for item in response.json()
|
||||
]
|
||||
return response_200
|
||||
if response.status_code == 400:
|
||||
response_4XX = Error.from_dict(response.json())
|
||||
return response_4XX
|
||||
if response.status_code == 500:
|
||||
response_5XX = Error.from_dict(response.json())
|
||||
return response_5XX
|
||||
return None
|
||||
|
||||
|
||||
def _build_response(*, response: httpx.Response) -> Response[Union[Any, [ApiToken], Error]]:
|
||||
return Response(
|
||||
status_code=response.status_code,
|
||||
content=response.content,
|
||||
headers=response.headers,
|
||||
parsed=_parse_response(response=response),
|
||||
)
|
||||
|
||||
|
||||
def sync_detailed(
|
||||
limit: int,
|
||||
page_token: str,
|
||||
sort_by: CreatedAtSortMode,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Response[Union[Any, [ApiToken], Error]]:
|
||||
kwargs = _get_kwargs(
|
||||
limit=limit,
|
||||
page_token=page_token,
|
||||
sort_by=sort_by,
|
||||
client=client,
|
||||
)
|
||||
|
||||
response = httpx.get(
|
||||
verify=client.verify_ssl,
|
||||
**kwargs,
|
||||
)
|
||||
|
||||
return _build_response(response=response)
|
||||
|
||||
|
||||
def sync(
|
||||
limit: int,
|
||||
page_token: str,
|
||||
sort_by: CreatedAtSortMode,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Optional[Union[Any, [ApiToken], Error]]:
|
||||
""" This endpoint requires authentication by any KittyCAD user. It returns the API tokens for the authenticated user.
|
||||
The API tokens are returned in order of creation, with the most recently created API tokens first. """
|
||||
|
||||
return sync_detailed(
|
||||
limit=limit,
|
||||
page_token=page_token,
|
||||
sort_by=sort_by,
|
||||
client=client,
|
||||
).parsed
|
||||
|
||||
|
||||
async def asyncio_detailed(
|
||||
limit: int,
|
||||
page_token: str,
|
||||
sort_by: CreatedAtSortMode,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Response[Union[Any, [ApiToken], Error]]:
|
||||
kwargs = _get_kwargs(
|
||||
limit=limit,
|
||||
page_token=page_token,
|
||||
sort_by=sort_by,
|
||||
client=client,
|
||||
)
|
||||
|
||||
async with httpx.AsyncClient(verify=client.verify_ssl) as _client:
|
||||
response = await _client.get(**kwargs)
|
||||
|
||||
return _build_response(response=response)
|
||||
|
||||
|
||||
async def asyncio(
|
||||
limit: int,
|
||||
page_token: str,
|
||||
sort_by: CreatedAtSortMode,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Optional[Union[Any, [ApiToken], Error]]:
|
||||
""" This endpoint requires authentication by any KittyCAD user. It returns the API tokens for the authenticated user.
|
||||
The API tokens are returned in order of creation, with the most recently created API tokens first. """
|
||||
|
||||
return (
|
||||
await asyncio_detailed(
|
||||
limit=limit,
|
||||
page_token=page_token,
|
||||
sort_by=sort_by,
|
||||
client=client,
|
||||
)
|
||||
).parsed
|
@ -1 +0,0 @@
|
||||
""" Contains methods for accessing the beta API paths: Beta API endpoints. """
|
@ -1 +1 @@
|
||||
""" Contains methods for accessing the file API paths: CAD file operations. """
|
||||
""" Contains methods for accessing the file API paths: CAD file operations. Create, get, and list CAD file conversions. More endpoints will be added here in the future as we build out transforms, etc on CAD models. """
|
||||
|
134
kittycad/api/file/create_file_conversion.py
Normal file
134
kittycad/api/file/create_file_conversion.py
Normal file
@ -0,0 +1,134 @@
|
||||
from typing import Any, Dict, Optional, Union
|
||||
|
||||
import httpx
|
||||
|
||||
from ...client import Client
|
||||
from ...models.file_conversion_with_output import FileConversionWithOutput
|
||||
from ...models.error import Error
|
||||
from ...models.file_conversion_output_format import FileConversionOutputFormat
|
||||
from ...models.file_conversion_source_format import FileConversionSourceFormat
|
||||
from ...types import Response
|
||||
|
||||
def _get_kwargs(
|
||||
output_format: FileConversionOutputFormat,
|
||||
src_format: FileConversionSourceFormat,
|
||||
body: bytes,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Dict[str, Any]:
|
||||
url = "{}/file/conversion/{src_format}/{output_format}".format(client.base_url, output_format=output_format, src_format=src_format)
|
||||
|
||||
headers: Dict[str, Any] = client.get_headers()
|
||||
cookies: Dict[str, Any] = client.get_cookies()
|
||||
|
||||
return {
|
||||
"url": url,
|
||||
"headers": headers,
|
||||
"cookies": cookies,
|
||||
"timeout": client.get_timeout(),
|
||||
"content": body,
|
||||
}
|
||||
|
||||
|
||||
def _parse_response(*, response: httpx.Response) -> Optional[Union[Any, FileConversionWithOutput, Error]]:
|
||||
if response.status_code == 201:
|
||||
response_201 = FileConversionWithOutput.from_dict(response.json())
|
||||
return response_201
|
||||
if response.status_code == 400:
|
||||
response_4XX = Error.from_dict(response.json())
|
||||
return response_4XX
|
||||
if response.status_code == 500:
|
||||
response_5XX = Error.from_dict(response.json())
|
||||
return response_5XX
|
||||
return None
|
||||
|
||||
|
||||
def _build_response(*, response: httpx.Response) -> Response[Union[Any, FileConversionWithOutput, Error]]:
|
||||
return Response(
|
||||
status_code=response.status_code,
|
||||
content=response.content,
|
||||
headers=response.headers,
|
||||
parsed=_parse_response(response=response),
|
||||
)
|
||||
|
||||
|
||||
def sync_detailed(
|
||||
output_format: FileConversionOutputFormat,
|
||||
src_format: FileConversionSourceFormat,
|
||||
body: bytes,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Response[Union[Any, FileConversionWithOutput, Error]]:
|
||||
kwargs = _get_kwargs(
|
||||
output_format=output_format,
|
||||
src_format=src_format,
|
||||
body=body,
|
||||
client=client,
|
||||
)
|
||||
|
||||
response = httpx.post(
|
||||
verify=client.verify_ssl,
|
||||
**kwargs,
|
||||
)
|
||||
|
||||
return _build_response(response=response)
|
||||
|
||||
|
||||
def sync(
|
||||
output_format: FileConversionOutputFormat,
|
||||
src_format: FileConversionSourceFormat,
|
||||
body: bytes,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Optional[Union[Any, FileConversionWithOutput, Error]]:
|
||||
""" Convert a CAD file from one format to another. If the file being converted is larger than 30MB, it will be performed asynchronously.
|
||||
If the conversion is performed synchronously, the contents of the converted file (`output`) will be returned as a base64 encoded string.
|
||||
If the conversion is performed asynchronously, the `id` of the conversion will be returned. You can use the `id` returned from the request to get status information about the async conversion from the `/file/conversions/{id}` endpoint. """
|
||||
|
||||
return sync_detailed(
|
||||
output_format=output_format,
|
||||
src_format=src_format,
|
||||
body=body,
|
||||
client=client,
|
||||
).parsed
|
||||
|
||||
|
||||
async def asyncio_detailed(
|
||||
output_format: FileConversionOutputFormat,
|
||||
src_format: FileConversionSourceFormat,
|
||||
body: bytes,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Response[Union[Any, FileConversionWithOutput, Error]]:
|
||||
kwargs = _get_kwargs(
|
||||
output_format=output_format,
|
||||
src_format=src_format,
|
||||
body=body,
|
||||
client=client,
|
||||
)
|
||||
|
||||
async with httpx.AsyncClient(verify=client.verify_ssl) as _client:
|
||||
response = await _client.post(**kwargs)
|
||||
|
||||
return _build_response(response=response)
|
||||
|
||||
|
||||
async def asyncio(
|
||||
output_format: FileConversionOutputFormat,
|
||||
src_format: FileConversionSourceFormat,
|
||||
body: bytes,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Optional[Union[Any, FileConversionWithOutput, Error]]:
|
||||
""" Convert a CAD file from one format to another. If the file being converted is larger than 30MB, it will be performed asynchronously.
|
||||
If the conversion is performed synchronously, the contents of the converted file (`output`) will be returned as a base64 encoded string.
|
||||
If the conversion is performed asynchronously, the `id` of the conversion will be returned. You can use the `id` returned from the request to get status information about the async conversion from the `/file/conversions/{id}` endpoint. """
|
||||
|
||||
return (
|
||||
await asyncio_detailed(
|
||||
output_format=output_format,
|
||||
src_format=src_format,
|
||||
body=body,
|
||||
client=client,
|
||||
)
|
||||
).parsed
|
@ -4,56 +4,56 @@ import base64
|
||||
import httpx
|
||||
|
||||
from ...client import Client
|
||||
from ...models.error_message import ErrorMessage
|
||||
from ...models.file_conversion import FileConversion
|
||||
from ...models.valid_source_file_format import ValidSourceFileFormat
|
||||
from ...models.valid_output_file_format import ValidOutputFileFormat
|
||||
from ...models import Error
|
||||
from ...models import FileConversionWithOutput
|
||||
from ...models import FileConversionSourceFormat
|
||||
from ...models import FileConversionOutputFormat
|
||||
from ...types import Response
|
||||
from ...api.file.post_file_conversion import sync as fc_sync, asyncio as fc_asyncio
|
||||
from ...api.file.create_file_conversion import sync as fc_sync, asyncio as fc_asyncio
|
||||
|
||||
def sync(
|
||||
source_format: ValidSourceFileFormat,
|
||||
output_format: ValidOutputFileFormat,
|
||||
src_format: FileConversionSourceFormat,
|
||||
output_format: FileConversionOutputFormat,
|
||||
body: bytes,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Optional[Union[Any, FileConversion, ErrorMessage]]:
|
||||
) -> Optional[Union[Any, FileConversionWithOutput, Error]]:
|
||||
"""Convert a CAD file from one format to another. If the file being converted is larger than a certain size it will be performed asynchronously. This function automatically base64 encodes the request body and base64 decodes the request output."""
|
||||
|
||||
encoded = base64.b64encode(body)
|
||||
|
||||
fc = fc_sync(
|
||||
source_format=source_format,
|
||||
src_format=src_format,
|
||||
output_format=output_format,
|
||||
body=encoded,
|
||||
client=client,
|
||||
)
|
||||
|
||||
if isinstance(fc, FileConversion) and fc.output != "":
|
||||
if isinstance(fc, FileConversionWithOutput) and fc.output != "":
|
||||
fc.output = base64.b64decode(fc.output)
|
||||
|
||||
return fc
|
||||
|
||||
|
||||
async def asyncio(
|
||||
source_format: ValidSourceFileFormat,
|
||||
output_format: ValidOutputFileFormat,
|
||||
src_format: FileConversionSourceFormat,
|
||||
output_format: FileConversionOutputFormat,
|
||||
body: bytes,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Optional[Union[Any, FileConversion, ErrorMessage]]:
|
||||
) -> Optional[Union[Any, FileConversionWithOutput, Error]]:
|
||||
"""Convert a CAD file from one format to another. If the file being converted is larger than a certain size it will be performed asynchronously. This function automatically base64 encodes the request body and base64 decodes the request output."""
|
||||
|
||||
encoded = base64.b64encode(body)
|
||||
|
||||
fc = await fc_asyncio(
|
||||
source_format=source_format,
|
||||
src_format=src_format,
|
||||
output_format=output_format,
|
||||
body=encoded,
|
||||
client=client,
|
||||
)
|
||||
|
||||
if isinstance(fc, FileConversion) and fc.output != "":
|
||||
if isinstance(fc, FileConversionWithOutput) and fc.output != "":
|
||||
fc.output = base64.b64decode(fc.output)
|
||||
|
||||
return fc
|
115
kittycad/api/file/get_file_conversion.py
Normal file
115
kittycad/api/file/get_file_conversion.py
Normal file
@ -0,0 +1,115 @@
|
||||
from typing import Any, Dict, Optional, Union
|
||||
|
||||
import httpx
|
||||
|
||||
from ...client import Client
|
||||
from ...models.file_conversion_with_output import FileConversionWithOutput
|
||||
from ...models.error import Error
|
||||
from ...types import Response
|
||||
|
||||
def _get_kwargs(
|
||||
id: str,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Dict[str, Any]:
|
||||
url = "{}/file/conversions/{id}".format(client.base_url, id=id)
|
||||
|
||||
headers: Dict[str, Any] = client.get_headers()
|
||||
cookies: Dict[str, Any] = client.get_cookies()
|
||||
|
||||
return {
|
||||
"url": url,
|
||||
"headers": headers,
|
||||
"cookies": cookies,
|
||||
"timeout": client.get_timeout(),
|
||||
}
|
||||
|
||||
|
||||
def _parse_response(*, response: httpx.Response) -> Optional[Union[Any, FileConversionWithOutput, Error]]:
|
||||
if response.status_code == 200:
|
||||
response_200 = FileConversionWithOutput.from_dict(response.json())
|
||||
return response_200
|
||||
if response.status_code == 400:
|
||||
response_4XX = Error.from_dict(response.json())
|
||||
return response_4XX
|
||||
if response.status_code == 500:
|
||||
response_5XX = Error.from_dict(response.json())
|
||||
return response_5XX
|
||||
return None
|
||||
|
||||
|
||||
def _build_response(*, response: httpx.Response) -> Response[Union[Any, FileConversionWithOutput, Error]]:
|
||||
return Response(
|
||||
status_code=response.status_code,
|
||||
content=response.content,
|
||||
headers=response.headers,
|
||||
parsed=_parse_response(response=response),
|
||||
)
|
||||
|
||||
|
||||
def sync_detailed(
|
||||
id: str,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Response[Union[Any, FileConversionWithOutput, Error]]:
|
||||
kwargs = _get_kwargs(
|
||||
id=id,
|
||||
client=client,
|
||||
)
|
||||
|
||||
response = httpx.get(
|
||||
verify=client.verify_ssl,
|
||||
**kwargs,
|
||||
)
|
||||
|
||||
return _build_response(response=response)
|
||||
|
||||
|
||||
def sync(
|
||||
id: str,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Optional[Union[Any, FileConversionWithOutput, Error]]:
|
||||
""" Get the status and output of an async file conversion.
|
||||
This endpoint requires authentication by any KittyCAD user. It returns details of the requested file conversion for the user.
|
||||
If the user is not authenticated to view the specified file conversion, then it is not returned.
|
||||
Only KittyCAD employees with the proper access can view file conversions for other users. """
|
||||
|
||||
return sync_detailed(
|
||||
id=id,
|
||||
client=client,
|
||||
).parsed
|
||||
|
||||
|
||||
async def asyncio_detailed(
|
||||
id: str,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Response[Union[Any, FileConversionWithOutput, Error]]:
|
||||
kwargs = _get_kwargs(
|
||||
id=id,
|
||||
client=client,
|
||||
)
|
||||
|
||||
async with httpx.AsyncClient(verify=client.verify_ssl) as _client:
|
||||
response = await _client.get(**kwargs)
|
||||
|
||||
return _build_response(response=response)
|
||||
|
||||
|
||||
async def asyncio(
|
||||
id: str,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Optional[Union[Any, FileConversionWithOutput, Error]]:
|
||||
""" Get the status and output of an async file conversion.
|
||||
This endpoint requires authentication by any KittyCAD user. It returns details of the requested file conversion for the user.
|
||||
If the user is not authenticated to view the specified file conversion, then it is not returned.
|
||||
Only KittyCAD employees with the proper access can view file conversions for other users. """
|
||||
|
||||
return (
|
||||
await asyncio_detailed(
|
||||
id=id,
|
||||
client=client,
|
||||
)
|
||||
).parsed
|
111
kittycad/api/file/get_file_conversion_for_user.py
Normal file
111
kittycad/api/file/get_file_conversion_for_user.py
Normal file
@ -0,0 +1,111 @@
|
||||
from typing import Any, Dict, Optional, Union
|
||||
|
||||
import httpx
|
||||
|
||||
from ...client import Client
|
||||
from ...models.file_conversion_with_output import FileConversionWithOutput
|
||||
from ...models.error import Error
|
||||
from ...types import Response
|
||||
|
||||
def _get_kwargs(
|
||||
id: str,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Dict[str, Any]:
|
||||
url = "{}/user/file/conversions/{id}".format(client.base_url, id=id)
|
||||
|
||||
headers: Dict[str, Any] = client.get_headers()
|
||||
cookies: Dict[str, Any] = client.get_cookies()
|
||||
|
||||
return {
|
||||
"url": url,
|
||||
"headers": headers,
|
||||
"cookies": cookies,
|
||||
"timeout": client.get_timeout(),
|
||||
}
|
||||
|
||||
|
||||
def _parse_response(*, response: httpx.Response) -> Optional[Union[Any, FileConversionWithOutput, Error]]:
|
||||
if response.status_code == 200:
|
||||
response_200 = FileConversionWithOutput.from_dict(response.json())
|
||||
return response_200
|
||||
if response.status_code == 400:
|
||||
response_4XX = Error.from_dict(response.json())
|
||||
return response_4XX
|
||||
if response.status_code == 500:
|
||||
response_5XX = Error.from_dict(response.json())
|
||||
return response_5XX
|
||||
return None
|
||||
|
||||
|
||||
def _build_response(*, response: httpx.Response) -> Response[Union[Any, FileConversionWithOutput, Error]]:
|
||||
return Response(
|
||||
status_code=response.status_code,
|
||||
content=response.content,
|
||||
headers=response.headers,
|
||||
parsed=_parse_response(response=response),
|
||||
)
|
||||
|
||||
|
||||
def sync_detailed(
|
||||
id: str,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Response[Union[Any, FileConversionWithOutput, Error]]:
|
||||
kwargs = _get_kwargs(
|
||||
id=id,
|
||||
client=client,
|
||||
)
|
||||
|
||||
response = httpx.get(
|
||||
verify=client.verify_ssl,
|
||||
**kwargs,
|
||||
)
|
||||
|
||||
return _build_response(response=response)
|
||||
|
||||
|
||||
def sync(
|
||||
id: str,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Optional[Union[Any, FileConversionWithOutput, Error]]:
|
||||
""" Get the status and output of an async file conversion. If completed, the contents of the converted file (`output`) will be returned as a base64 encoded string.
|
||||
This endpoint requires authentication by any KittyCAD user. It returns details of the requested file conversion for the user. """
|
||||
|
||||
return sync_detailed(
|
||||
id=id,
|
||||
client=client,
|
||||
).parsed
|
||||
|
||||
|
||||
async def asyncio_detailed(
|
||||
id: str,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Response[Union[Any, FileConversionWithOutput, Error]]:
|
||||
kwargs = _get_kwargs(
|
||||
id=id,
|
||||
client=client,
|
||||
)
|
||||
|
||||
async with httpx.AsyncClient(verify=client.verify_ssl) as _client:
|
||||
response = await _client.get(**kwargs)
|
||||
|
||||
return _build_response(response=response)
|
||||
|
||||
|
||||
async def asyncio(
|
||||
id: str,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Optional[Union[Any, FileConversionWithOutput, Error]]:
|
||||
""" Get the status and output of an async file conversion. If completed, the contents of the converted file (`output`) will be returned as a base64 encoded string.
|
||||
This endpoint requires authentication by any KittyCAD user. It returns details of the requested file conversion for the user. """
|
||||
|
||||
return (
|
||||
await asyncio_detailed(
|
||||
id=id,
|
||||
client=client,
|
||||
)
|
||||
).parsed
|
@ -4,17 +4,17 @@ import base64
|
||||
import httpx
|
||||
|
||||
from ...client import Client
|
||||
from ...models.error_message import ErrorMessage
|
||||
from ...models.file_conversion import FileConversion
|
||||
from ...models import Error
|
||||
from ...models.file_conversion import FileConversionWithOutput
|
||||
from ...types import Response
|
||||
from ...api.file.file_conversion_status import sync as fc_sync, asyncio as fc_asyncio
|
||||
from ...api.file.get_file_conversion import sync as fc_sync, asyncio as fc_asyncio
|
||||
|
||||
|
||||
def sync(
|
||||
id: str,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Optional[Union[Any, FileConversion, ErrorMessage]]:
|
||||
) -> Optional[Union[Any, FileConversionWithOutput, Error]]:
|
||||
"""Get the status of a file conversion. This function automatically base64 decodes the output response if there is one."""
|
||||
|
||||
fc = fc_sync(
|
||||
@ -22,7 +22,7 @@ def sync(
|
||||
client=client,
|
||||
)
|
||||
|
||||
if isinstance(fc, FileConversion) and fc.output != "":
|
||||
if isinstance(fc, FileConversionWithOutput) and fc.output != "":
|
||||
fc.output = base64.b64decode(fc.output)
|
||||
|
||||
return fc
|
||||
@ -32,7 +32,7 @@ async def asyncio(
|
||||
id: str,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Optional[Union[Any, FileConversion, ErrorMessage]]:
|
||||
) -> Optional[Union[Any, FileConversionWithOutput, Error]]:
|
||||
"""Get the status of a file conversion. This function automatically base64 decodes the output response if there is one."""
|
||||
|
||||
fc = await fc_asyncio(
|
||||
@ -40,7 +40,7 @@ async def asyncio(
|
||||
client=client,
|
||||
)
|
||||
|
||||
if isinstance(fc, FileConversion) and fc.output != "":
|
||||
if isinstance(fc, FileConversionWithOutput) and fc.output != "":
|
||||
fc.output = base64.b64decode(fc.output)
|
||||
|
||||
return fc
|
133
kittycad/api/file/list_file_conversions.py
Normal file
133
kittycad/api/file/list_file_conversions.py
Normal file
@ -0,0 +1,133 @@
|
||||
from typing import Any, Dict, Optional, Union
|
||||
|
||||
import httpx
|
||||
|
||||
from ...client import Client
|
||||
from ...models.file_conversion import FileConversion
|
||||
from ...models.error import Error
|
||||
from ...models.created_at_sort_mode import CreatedAtSortMode
|
||||
from ...types import Response
|
||||
|
||||
def _get_kwargs(
|
||||
limit: int,
|
||||
page_token: str,
|
||||
sort_by: CreatedAtSortMode,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Dict[str, Any]:
|
||||
url = "{}/file/conversions".format(client.base_url, limit=limit, page_token=page_token, sort_by=sort_by)
|
||||
|
||||
headers: Dict[str, Any] = client.get_headers()
|
||||
cookies: Dict[str, Any] = client.get_cookies()
|
||||
|
||||
return {
|
||||
"url": url,
|
||||
"headers": headers,
|
||||
"cookies": cookies,
|
||||
"timeout": client.get_timeout(),
|
||||
}
|
||||
|
||||
|
||||
def _parse_response(*, response: httpx.Response) -> Optional[Union[Any, [FileConversion], Error]]:
|
||||
if response.status_code == 200:
|
||||
response_200 = [
|
||||
FileConversion.from_dict(item)
|
||||
for item in response.json()
|
||||
]
|
||||
return response_200
|
||||
if response.status_code == 400:
|
||||
response_4XX = Error.from_dict(response.json())
|
||||
return response_4XX
|
||||
if response.status_code == 500:
|
||||
response_5XX = Error.from_dict(response.json())
|
||||
return response_5XX
|
||||
return None
|
||||
|
||||
|
||||
def _build_response(*, response: httpx.Response) -> Response[Union[Any, [FileConversion], Error]]:
|
||||
return Response(
|
||||
status_code=response.status_code,
|
||||
content=response.content,
|
||||
headers=response.headers,
|
||||
parsed=_parse_response(response=response),
|
||||
)
|
||||
|
||||
|
||||
def sync_detailed(
|
||||
limit: int,
|
||||
page_token: str,
|
||||
sort_by: CreatedAtSortMode,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Response[Union[Any, [FileConversion], Error]]:
|
||||
kwargs = _get_kwargs(
|
||||
limit=limit,
|
||||
page_token=page_token,
|
||||
sort_by=sort_by,
|
||||
client=client,
|
||||
)
|
||||
|
||||
response = httpx.get(
|
||||
verify=client.verify_ssl,
|
||||
**kwargs,
|
||||
)
|
||||
|
||||
return _build_response(response=response)
|
||||
|
||||
|
||||
def sync(
|
||||
limit: int,
|
||||
page_token: str,
|
||||
sort_by: CreatedAtSortMode,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Optional[Union[Any, [FileConversion], Error]]:
|
||||
""" This endpoint does not return the contents of the converted file (`output`). To get the contents use the `/file/conversions/{id}` endpoint.
|
||||
This endpoint requires authentication by a KittyCAD employee. """
|
||||
|
||||
return sync_detailed(
|
||||
limit=limit,
|
||||
page_token=page_token,
|
||||
sort_by=sort_by,
|
||||
client=client,
|
||||
).parsed
|
||||
|
||||
|
||||
async def asyncio_detailed(
|
||||
limit: int,
|
||||
page_token: str,
|
||||
sort_by: CreatedAtSortMode,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Response[Union[Any, [FileConversion], Error]]:
|
||||
kwargs = _get_kwargs(
|
||||
limit=limit,
|
||||
page_token=page_token,
|
||||
sort_by=sort_by,
|
||||
client=client,
|
||||
)
|
||||
|
||||
async with httpx.AsyncClient(verify=client.verify_ssl) as _client:
|
||||
response = await _client.get(**kwargs)
|
||||
|
||||
return _build_response(response=response)
|
||||
|
||||
|
||||
async def asyncio(
|
||||
limit: int,
|
||||
page_token: str,
|
||||
sort_by: CreatedAtSortMode,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Optional[Union[Any, [FileConversion], Error]]:
|
||||
""" This endpoint does not return the contents of the converted file (`output`). To get the contents use the `/file/conversions/{id}` endpoint.
|
||||
This endpoint requires authentication by a KittyCAD employee. """
|
||||
|
||||
return (
|
||||
await asyncio_detailed(
|
||||
limit=limit,
|
||||
page_token=page_token,
|
||||
sort_by=sort_by,
|
||||
client=client,
|
||||
)
|
||||
).parsed
|
135
kittycad/api/file/list_file_conversions_for_user.py
Normal file
135
kittycad/api/file/list_file_conversions_for_user.py
Normal file
@ -0,0 +1,135 @@
|
||||
from typing import Any, Dict, Optional, Union
|
||||
|
||||
import httpx
|
||||
|
||||
from ...client import Client
|
||||
from ...models.file_conversion import FileConversion
|
||||
from ...models.error import Error
|
||||
from ...models.created_at_sort_mode import CreatedAtSortMode
|
||||
from ...types import Response
|
||||
|
||||
def _get_kwargs(
|
||||
limit: int,
|
||||
page_token: str,
|
||||
sort_by: CreatedAtSortMode,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Dict[str, Any]:
|
||||
url = "{}/user/file/conversions".format(client.base_url, limit=limit, page_token=page_token, sort_by=sort_by)
|
||||
|
||||
headers: Dict[str, Any] = client.get_headers()
|
||||
cookies: Dict[str, Any] = client.get_cookies()
|
||||
|
||||
return {
|
||||
"url": url,
|
||||
"headers": headers,
|
||||
"cookies": cookies,
|
||||
"timeout": client.get_timeout(),
|
||||
}
|
||||
|
||||
|
||||
def _parse_response(*, response: httpx.Response) -> Optional[Union[Any, [FileConversion], Error]]:
|
||||
if response.status_code == 200:
|
||||
response_200 = [
|
||||
FileConversion.from_dict(item)
|
||||
for item in response.json()
|
||||
]
|
||||
return response_200
|
||||
if response.status_code == 400:
|
||||
response_4XX = Error.from_dict(response.json())
|
||||
return response_4XX
|
||||
if response.status_code == 500:
|
||||
response_5XX = Error.from_dict(response.json())
|
||||
return response_5XX
|
||||
return None
|
||||
|
||||
|
||||
def _build_response(*, response: httpx.Response) -> Response[Union[Any, [FileConversion], Error]]:
|
||||
return Response(
|
||||
status_code=response.status_code,
|
||||
content=response.content,
|
||||
headers=response.headers,
|
||||
parsed=_parse_response(response=response),
|
||||
)
|
||||
|
||||
|
||||
def sync_detailed(
|
||||
limit: int,
|
||||
page_token: str,
|
||||
sort_by: CreatedAtSortMode,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Response[Union[Any, [FileConversion], Error]]:
|
||||
kwargs = _get_kwargs(
|
||||
limit=limit,
|
||||
page_token=page_token,
|
||||
sort_by=sort_by,
|
||||
client=client,
|
||||
)
|
||||
|
||||
response = httpx.get(
|
||||
verify=client.verify_ssl,
|
||||
**kwargs,
|
||||
)
|
||||
|
||||
return _build_response(response=response)
|
||||
|
||||
|
||||
def sync(
|
||||
limit: int,
|
||||
page_token: str,
|
||||
sort_by: CreatedAtSortMode,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Optional[Union[Any, [FileConversion], Error]]:
|
||||
""" This endpoint does not return the contents of the converted file (`output`). To get the contents use the `/file/conversions/{id}` endpoint.
|
||||
This endpoint requires authentication by any KittyCAD user. It returns the API tokens for the authenticated user.
|
||||
The file conversions are returned in order of creation, with the most recently created file conversions first. """
|
||||
|
||||
return sync_detailed(
|
||||
limit=limit,
|
||||
page_token=page_token,
|
||||
sort_by=sort_by,
|
||||
client=client,
|
||||
).parsed
|
||||
|
||||
|
||||
async def asyncio_detailed(
|
||||
limit: int,
|
||||
page_token: str,
|
||||
sort_by: CreatedAtSortMode,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Response[Union[Any, [FileConversion], Error]]:
|
||||
kwargs = _get_kwargs(
|
||||
limit=limit,
|
||||
page_token=page_token,
|
||||
sort_by=sort_by,
|
||||
client=client,
|
||||
)
|
||||
|
||||
async with httpx.AsyncClient(verify=client.verify_ssl) as _client:
|
||||
response = await _client.get(**kwargs)
|
||||
|
||||
return _build_response(response=response)
|
||||
|
||||
|
||||
async def asyncio(
|
||||
limit: int,
|
||||
page_token: str,
|
||||
sort_by: CreatedAtSortMode,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Optional[Union[Any, [FileConversion], Error]]:
|
||||
""" This endpoint does not return the contents of the converted file (`output`). To get the contents use the `/file/conversions/{id}` endpoint.
|
||||
This endpoint requires authentication by any KittyCAD user. It returns the API tokens for the authenticated user.
|
||||
The file conversions are returned in order of creation, with the most recently created file conversions first. """
|
||||
|
||||
return (
|
||||
await asyncio_detailed(
|
||||
limit=limit,
|
||||
page_token=page_token,
|
||||
sort_by=sort_by,
|
||||
client=client,
|
||||
)
|
||||
).parsed
|
@ -1,142 +0,0 @@
|
||||
from typing import Any, Dict, Optional, Union
|
||||
|
||||
import httpx
|
||||
|
||||
from ...client import Client
|
||||
from ...models.file_conversion import FileConversion
|
||||
from ...models.error_message import ErrorMessage
|
||||
from ...models.valid_source_file_format import ValidSourceFileFormat
|
||||
from ...models.valid_output_file_format import ValidOutputFileFormat
|
||||
from ...types import Response
|
||||
|
||||
def _get_kwargs(
|
||||
source_format: ValidSourceFileFormat,
|
||||
output_format: ValidOutputFileFormat,
|
||||
body: bytes,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Dict[str, Any]:
|
||||
url = "{}/file/conversion/{sourceFormat}/{outputFormat}".format(client.base_url, sourceFormat=source_format, outputFormat=output_format)
|
||||
|
||||
headers: Dict[str, Any] = client.get_headers()
|
||||
cookies: Dict[str, Any] = client.get_cookies()
|
||||
|
||||
return {
|
||||
"url": url,
|
||||
"headers": headers,
|
||||
"cookies": cookies,
|
||||
"timeout": client.get_timeout(),
|
||||
"content": body,
|
||||
}
|
||||
|
||||
|
||||
def _parse_response(*, response: httpx.Response) -> Optional[Union[Any, FileConversion, ErrorMessage]]:
|
||||
if response.status_code == 200:
|
||||
response_200 = FileConversion.from_dict(response.json())
|
||||
return response_200
|
||||
if response.status_code == 202:
|
||||
response_202 = FileConversion.from_dict(response.json())
|
||||
return response_202
|
||||
if response.status_code == 400:
|
||||
response_400 = ErrorMessage.from_dict(response.json())
|
||||
return response_400
|
||||
if response.status_code == 401:
|
||||
response_401 = ErrorMessage.from_dict(response.json())
|
||||
return response_401
|
||||
if response.status_code == 403:
|
||||
response_403 = ErrorMessage.from_dict(response.json())
|
||||
return response_403
|
||||
if response.status_code == 406:
|
||||
response_406 = ErrorMessage.from_dict(response.json())
|
||||
return response_406
|
||||
if response.status_code == 500:
|
||||
response_500 = ErrorMessage.from_dict(response.json())
|
||||
return response_500
|
||||
return None
|
||||
|
||||
|
||||
def _build_response(*, response: httpx.Response) -> Response[Union[Any, FileConversion, ErrorMessage]]:
|
||||
return Response(
|
||||
status_code=response.status_code,
|
||||
content=response.content,
|
||||
headers=response.headers,
|
||||
parsed=_parse_response(response=response),
|
||||
)
|
||||
|
||||
|
||||
def sync_detailed(
|
||||
source_format: ValidSourceFileFormat,
|
||||
output_format: ValidOutputFileFormat,
|
||||
body: bytes,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Response[Union[Any, FileConversion, ErrorMessage]]:
|
||||
kwargs = _get_kwargs(
|
||||
source_format=source_format,
|
||||
output_format=output_format,
|
||||
body=body,
|
||||
client=client,
|
||||
)
|
||||
|
||||
response = httpx.post(
|
||||
verify=client.verify_ssl,
|
||||
**kwargs,
|
||||
)
|
||||
|
||||
return _build_response(response=response)
|
||||
|
||||
|
||||
def sync(
|
||||
source_format: ValidSourceFileFormat,
|
||||
output_format: ValidOutputFileFormat,
|
||||
body: bytes,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Optional[Union[Any, FileConversion, ErrorMessage]]:
|
||||
""" Convert a CAD file from one format to another. If the file being converted is larger than 30MB, it will be performed asynchronously. """
|
||||
|
||||
return sync_detailed(
|
||||
source_format=source_format,
|
||||
output_format=output_format,
|
||||
body=body,
|
||||
client=client,
|
||||
).parsed
|
||||
|
||||
|
||||
async def asyncio_detailed(
|
||||
source_format: ValidSourceFileFormat,
|
||||
output_format: ValidOutputFileFormat,
|
||||
body: bytes,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Response[Union[Any, FileConversion, ErrorMessage]]:
|
||||
kwargs = _get_kwargs(
|
||||
source_format=source_format,
|
||||
output_format=output_format,
|
||||
body=body,
|
||||
client=client,
|
||||
)
|
||||
|
||||
async with httpx.AsyncClient(verify=client.verify_ssl) as _client:
|
||||
response = await _client.post(**kwargs)
|
||||
|
||||
return _build_response(response=response)
|
||||
|
||||
|
||||
async def asyncio(
|
||||
source_format: ValidSourceFileFormat,
|
||||
output_format: ValidOutputFileFormat,
|
||||
body: bytes,
|
||||
*,
|
||||
client: Client,
|
||||
) -> Optional[Union[Any, FileConversion, ErrorMessage]]:
|
||||
""" Convert a CAD file from one format to another. If the file being converted is larger than 30MB, it will be performed asynchronously. """
|
||||
|
||||
return (
|
||||
await asyncio_detailed(
|
||||
source_format=source_format,
|
||||
output_format=output_format,
|
||||
body=body,
|
||||
client=client,
|
||||
)
|
||||
).parsed
|
@ -1 +0,0 @@
|
||||
""" Contains methods for accessing the internal API paths: Internal API endpoints. """
|
@ -1 +1 @@
|
||||
""" Contains methods for accessing the meta API paths: Meta information about servers, instances, and sessions. """
|
||||
""" Contains methods for accessing the meta API paths: Meta information about the API. """
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user