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:
committed by
GitHub
parent
98c6a70e3b
commit
64fc99943e
@ -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]]:
|
||||
|
Reference in New Issue
Block a user