Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2021-12-15 06:11:05 -08:00
parent 12c5b1ba49
commit 2ca2b5f87b
2 changed files with 60 additions and 0 deletions

View File

@ -114,12 +114,14 @@ def sync(
async def asyncio_detailed(
source_format: ValidFileTypes,
output_format: ValidFileTypes,
content: bytes,
*,
client: AuthenticatedClient,
) -> Response[Union[Any, FileConversion]]:
kwargs = _get_kwargs(
source_format=source_format,
output_format=output_format,
content=content,
client=client,
)
@ -132,6 +134,7 @@ async def asyncio_detailed(
async def asyncio(
source_format: ValidFileTypes,
output_format: ValidFileTypes,
content: bytes,
*,
client: AuthenticatedClient,
) -> Optional[Union[Any, FileConversion]]:
@ -141,6 +144,7 @@ async def asyncio(
await asyncio_detailed(
source_format=source_format,
output_format=output_format,
content=content,
client=client,
)
).parsed