Update api spec (#263)

* YOYO NEW API SPEC!

* new files

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

* fixes

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

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Greg Sweeney <greg@kittycad.io>
Co-authored-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
zoo-github-actions-auth[bot]
2024-09-10 09:17:32 -07:00
committed by GitHub
parent 98c6a70e3b
commit 64fc99943e
19 changed files with 1157 additions and 920 deletions

View File

@ -5,11 +5,12 @@ import httpx
from ...client import Client
from ...models.error import Error
from ...models.session import Session
from ...models.session_token_uuid import SessionTokenUuid
from ...types import Response
def _get_kwargs(
token: str,
token: SessionTokenUuid,
*,
client: Client,
) -> Dict[str, Any]:
@ -54,7 +55,7 @@ def _build_response(
def sync_detailed(
token: str,
token: SessionTokenUuid,
*,
client: Client,
) -> Response[Optional[Union[Session, Error]]]:
@ -72,7 +73,7 @@ def sync_detailed(
def sync(
token: str,
token: SessionTokenUuid,
*,
client: Client,
) -> Optional[Union[Session, Error]]:
@ -85,7 +86,7 @@ def sync(
async def asyncio_detailed(
token: str,
token: SessionTokenUuid,
*,
client: Client,
) -> Response[Optional[Union[Session, Error]]]:
@ -101,7 +102,7 @@ async def asyncio_detailed(
async def asyncio(
token: str,
token: SessionTokenUuid,
*,
client: Client,
) -> Optional[Union[Session, Error]]: