* fix hyphens

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

* fix hyphens

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

* add a test as well

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

* fix;

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

* fixes

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

* I have generated the latest API!

* updates

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

* fix

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

* I have generated the latest API!

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Jess Frazelle
2023-01-27 16:22:14 -08:00
committed by GitHub
parent 95f22c849d
commit 0403eddfd7
22 changed files with 242 additions and 119 deletions

View File

@ -10,10 +10,10 @@ from ...types import Response
def _get_kwargs(
lang: CodeLanguage,
output: str,
body: bytes,
*,
client: Client,
output: Optional[str] = None,
) -> Dict[str, Any]:
url = "{}/file/execute/{lang}?output={output}".format(client.base_url, lang=lang, output=output)
@ -53,10 +53,10 @@ def _build_response(*, response: httpx.Response) -> Response[Union[Any, CodeOutp
def sync_detailed(
lang: CodeLanguage,
output: str,
body: bytes,
*,
client: Client,
output: Optional[str] = None,
) -> Response[Union[Any, CodeOutput, Error]]:
kwargs = _get_kwargs(
lang=lang,
@ -75,10 +75,10 @@ def sync_detailed(
def sync(
lang: CodeLanguage,
output: str,
body: bytes,
*,
client: Client,
output: Optional[str] = None,
) -> Optional[Union[Any, CodeOutput, Error]]:
return sync_detailed(
@ -91,10 +91,10 @@ def sync(
async def asyncio_detailed(
lang: CodeLanguage,
output: str,
body: bytes,
*,
client: Client,
output: Optional[str] = None,
) -> Response[Union[Any, CodeOutput, Error]]:
kwargs = _get_kwargs(
lang=lang,
@ -111,10 +111,10 @@ async def asyncio_detailed(
async def asyncio(
lang: CodeLanguage,
output: str,
body: bytes,
*,
client: Client,
output: Optional[str] = None,
) -> Optional[Union[Any, CodeOutput, Error]]:
return (