make tests pass

Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2022-02-27 22:24:39 -08:00
parent 65e95eae3d
commit ab01c82bb7
9 changed files with 14 additions and 221 deletions

View File

@ -3,7 +3,7 @@ from typing import Any, Dict, Optional, Union
import base64
import httpx
from ...client import AuthenticatedClient
from ...client import Client
from ...models.file_conversion import FileConversion
from ...types import Response
from ...api.file.file_conversion_status import sync as fc_sync, asyncio as fc_asyncio
@ -12,7 +12,7 @@ from ...api.file.file_conversion_status import sync as fc_sync, asyncio as fc_as
def sync(
id: str,
*,
client: AuthenticatedClient,
client: Client,
) -> Optional[Union[Any, FileConversion]]:
"""Get the status of a file conversion. This function automatically base64 decodes the output response if there is one."""
@ -30,7 +30,7 @@ def sync(
async def asyncio(
id: str,
*,
client: AuthenticatedClient,
client: Client,
) -> Optional[Union[Any, FileConversion]]:
"""Get the status of a file conversion. This function automatically base64 decodes the output response if there is one."""

View File

@ -3,7 +3,7 @@ from typing import Any, Dict, Optional, Union
import base64
import httpx
from ...client import AuthenticatedClient
from ...client import Client
from ...models.file_conversion import FileConversion
from ...models.valid_file_type import ValidFileType
from ...types import Response
@ -14,7 +14,7 @@ def sync(
output_format: ValidFileType,
content: bytes,
*,
client: AuthenticatedClient,
client: Client,
) -> Optional[Union[Any, FileConversion]]:
"""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."""
@ -38,7 +38,7 @@ async def asyncio(
output_format: ValidFileType,
content: bytes,
*,
client: AuthenticatedClient,
client: Client,
) -> Optional[Union[Any, FileConversion]]:
"""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."""