diff --git a/generate/generate.py b/generate/generate.py index 04a7ca7c1..84ce2b7dd 100755 --- a/generate/generate.py +++ b/generate/generate.py @@ -263,7 +263,7 @@ def generatePath(path: str, name: str, method: str, endpoint: dict): print(" parameter: ", parameter) raise Exception("Unknown parameter type") f.write( - "\t" + + "\t\t" + camel_to_snake(parameter_name) + "=" + camel_to_snake(parameter_name) + @@ -377,7 +377,7 @@ def generatePath(path: str, name: str, method: str, endpoint: dict): print(" parameter: ", parameter) raise Exception("Unknown parameter type") f.write( - "\t" + + "\t\t" + camel_to_snake(parameter_name) + "=" + camel_to_snake(parameter_name) + @@ -437,7 +437,7 @@ def generatePath(path: str, name: str, method: str, endpoint: dict): print(" parameter: ", parameter) raise Exception("Unknown parameter type") f.write( - "\t" + + "\t\t" + camel_to_snake(parameter_name) + "=" + camel_to_snake(parameter_name) + diff --git a/kittycad/api/file/file_conversion_status.py b/kittycad/api/file/file_conversion_status.py index b67605a86..cbac6f981 100644 --- a/kittycad/api/file/file_conversion_status.py +++ b/kittycad/api/file/file_conversion_status.py @@ -59,7 +59,7 @@ def sync_detailed( id: str, *, client: Client) -> Response[Union[Any, FileConversion]]: kwargs = _get_kwargs( - id=id, + id=id, client=client, ) @@ -86,7 +86,7 @@ async def asyncio_detailed( id: str, *, client: Client) -> Response[Union[Any, FileConversion]]: kwargs = _get_kwargs( - id=id, + id=id, client=client, ) @@ -102,6 +102,6 @@ async def asyncio( """ Get the status and output of an async file conversion. """ return (await asyncio_detailed( - id=id, + id=id, client=client, )).parsed diff --git a/kittycad/api/file/post_file_conversion.py b/kittycad/api/file/post_file_conversion.py index cc0d07373..fec157d74 100644 --- a/kittycad/api/file/post_file_conversion.py +++ b/kittycad/api/file/post_file_conversion.py @@ -68,8 +68,8 @@ def sync_detailed( output_format: ValidOutputFileFormat, *, client: Client) -> Response[Union[Any, FileConversion, FileConversion]]: kwargs = _get_kwargs( - source_format=source_format, - output_format=output_format, + source_format=source_format, + output_format=output_format, client=client, ) @@ -99,8 +99,8 @@ async def asyncio_detailed( output_format: ValidOutputFileFormat, *, client: Client) -> Response[Union[Any, FileConversion, FileConversion]]: kwargs = _get_kwargs( - source_format=source_format, - output_format=output_format, + source_format=source_format, + output_format=output_format, client=client, ) @@ -117,7 +117,7 @@ async def asyncio( """ Convert a CAD file from one format to another. If the file being converted is larger than 30MB, it will be performed asynchronously. """ return (await asyncio_detailed( - source_format=source_format, - output_format=output_format, + source_format=source_format, + output_format=output_format, client=client, )).parsed