upgrade pydantic (#266)

* upgrade pydantic

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* updates

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* update other deps

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* update other deps

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* ruff

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* bump more deps

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* update

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* format

Signed-off-by: Jess Frazelle <github@jessfraz.com>

* bump

Signed-off-by: Jess Frazelle <github@jessfraz.com>

---------

Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2024-09-10 12:52:57 -07:00
committed by GitHub
parent b430b49382
commit bf0710f0e6
221 changed files with 2158 additions and 3109 deletions

View File

@ -21,21 +21,18 @@ def _get_kwargs(
) # noqa: E501
if limit is not None:
if "?" in url:
url = url + "&limit=" + str(limit)
else:
url = url + "?limit=" + str(limit)
if page_token is not None:
if "?" in url:
url = url + "&page_token=" + str(page_token)
else:
url = url + "?page_token=" + str(page_token)
if sort_by is not None:
if "?" in url:
url = url + "&sort_by=" + str(sort_by)
else:
@ -109,8 +106,7 @@ def sync(
) -> Optional[Union[MlPromptResultsPage, Error]]:
"""For text-to-cad prompts, this will always return the STEP file contents as well as the format the user originally requested.
This endpoint requires authentication by a Zoo employee.
The ML prompts are returned in order of creation, with the most recently created ML prompts first.
""" # noqa: E501
The ML prompts are returned in order of creation, with the most recently created ML prompts first.""" # noqa: E501
return sync_detailed(
limit=limit,
@ -149,8 +145,7 @@ async def asyncio(
) -> Optional[Union[MlPromptResultsPage, Error]]:
"""For text-to-cad prompts, this will always return the STEP file contents as well as the format the user originally requested.
This endpoint requires authentication by a Zoo employee.
The ML prompts are returned in order of creation, with the most recently created ML prompts first.
""" # noqa: E501
The ML prompts are returned in order of creation, with the most recently created ML prompts first.""" # noqa: E501
return (
await asyncio_detailed(