@ -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) +
 | 
			
		||||
 | 
			
		||||
@ -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
 | 
			
		||||
 | 
			
		||||
@ -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
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user