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:
@ -1 +1 @@
|
||||
""" Contains methods for accessing the executor API paths: Endpoints that allow for code execution or creation of code execution environments. """ # noqa: E501
|
||||
"""Contains methods for accessing the executor API paths: Endpoints that allow for code execution or creation of code execution environments.""" # noqa: E501
|
||||
|
||||
@ -33,7 +33,12 @@ def sync(
|
||||
client=client,
|
||||
)
|
||||
|
||||
return ws_connect(kwargs["url"].replace("http", "ws"), additional_headers=kwargs["headers"], close_timeout=120, max_size=None) # type: ignore
|
||||
return ws_connect(
|
||||
kwargs["url"].replace("http", "ws"),
|
||||
additional_headers=kwargs["headers"],
|
||||
close_timeout=120,
|
||||
max_size=None,
|
||||
) # type: ignore
|
||||
|
||||
|
||||
async def asyncio(
|
||||
|
||||
@ -22,7 +22,6 @@ def _get_kwargs(
|
||||
) # noqa: E501
|
||||
|
||||
if output is not None:
|
||||
|
||||
if "?" in url:
|
||||
url = url + "&output=" + str(output)
|
||||
else:
|
||||
@ -93,7 +92,6 @@ def sync(
|
||||
client: Client,
|
||||
output: Optional[str] = None,
|
||||
) -> Optional[Union[CodeOutput, Error]]:
|
||||
|
||||
return sync_detailed(
|
||||
lang=lang,
|
||||
output=output,
|
||||
@ -129,7 +127,6 @@ async def asyncio(
|
||||
client: Client,
|
||||
output: Optional[str] = None,
|
||||
) -> Optional[Union[CodeOutput, Error]]:
|
||||
|
||||
return (
|
||||
await asyncio_detailed(
|
||||
lang=lang,
|
||||
|
||||
Reference in New Issue
Block a user