Update api spec (#52)

* YOYO NEW API SPEC!

* I have generated the latest API!

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Jess Frazelle
2023-01-27 14:50:50 -08:00
committed by GitHub
parent 9fe98c9185
commit 95f22c849d
35 changed files with 2812 additions and 50 deletions

View File

@ -81,6 +81,7 @@ def sync(
client: Client,
) -> Optional[Union[Any, FileCenterOfMass, Error]]:
""" Get the center of mass of an object in a CAD file. If the file is larger than 25MB, it will be performed asynchronously.
Does the same as the `center_of_mass_with_uniform_density` endpoint; except, this has a redundant `material_density value`. Kept for legacy in this version.
If the operation is performed asynchronously, the `id` of the operation will be returned. You can use the `id` returned from the request to get status information about the async operation from the `/async/operations/{id}` endpoint. """
return sync_detailed(
@ -119,6 +120,7 @@ async def asyncio(
client: Client,
) -> Optional[Union[Any, FileCenterOfMass, Error]]:
""" Get the center of mass of an object in a CAD file. If the file is larger than 25MB, it will be performed asynchronously.
Does the same as the `center_of_mass_with_uniform_density` endpoint; except, this has a redundant `material_density value`. Kept for legacy in this version.
If the operation is performed asynchronously, the `id` of the operation will be returned. You can use the `id` returned from the request to get status information about the async operation from the `/async/operations/{id}` endpoint. """
return (