new sdk v0.1.85 (#2421)

This commit is contained in:
Shuchang Zheng
2025-05-21 21:31:10 -07:00
committed by GitHub
parent 0b21f1accb
commit 83f8dca159
49 changed files with 2510 additions and 463 deletions

View File

@@ -34,7 +34,6 @@ class Skyvern:
api_key : typing.Optional[str]
authorization : typing.Optional[str]
timeout : typing.Optional[float]
The timeout to be used, in seconds, for requests. By default the timeout is 60 seconds, unless a custom httpx client is used, in which case this default is not enforced.
@@ -50,7 +49,6 @@ class Skyvern:
client = Skyvern(
api_key="YOUR_API_KEY",
authorization="YOUR_AUTHORIZATION",
)
"""
@@ -60,7 +58,6 @@ class Skyvern:
base_url: typing.Optional[str] = None,
environment: SkyvernEnvironment = SkyvernEnvironment.PRODUCTION,
api_key: typing.Optional[str] = None,
authorization: typing.Optional[str] = None,
timeout: typing.Optional[float] = None,
follow_redirects: typing.Optional[bool] = True,
httpx_client: typing.Optional[httpx.Client] = None,
@@ -69,7 +66,6 @@ class Skyvern:
self._client_wrapper = SyncClientWrapper(
base_url=_get_base_url(base_url=base_url, environment=environment),
api_key=api_key,
authorization=authorization,
httpx_client=httpx_client
if httpx_client is not None
else httpx.Client(timeout=_defaulted_timeout, follow_redirects=follow_redirects)
@@ -102,7 +98,6 @@ class AsyncSkyvern:
api_key : typing.Optional[str]
authorization : typing.Optional[str]
timeout : typing.Optional[float]
The timeout to be used, in seconds, for requests. By default the timeout is 60 seconds, unless a custom httpx client is used, in which case this default is not enforced.
@@ -118,7 +113,6 @@ class AsyncSkyvern:
client = AsyncSkyvern(
api_key="YOUR_API_KEY",
authorization="YOUR_AUTHORIZATION",
)
"""
@@ -128,7 +122,6 @@ class AsyncSkyvern:
base_url: typing.Optional[str] = None,
environment: SkyvernEnvironment = SkyvernEnvironment.PRODUCTION,
api_key: typing.Optional[str] = None,
authorization: typing.Optional[str] = None,
timeout: typing.Optional[float] = None,
follow_redirects: typing.Optional[bool] = True,
httpx_client: typing.Optional[httpx.AsyncClient] = None,
@@ -137,7 +130,6 @@ class AsyncSkyvern:
self._client_wrapper = AsyncClientWrapper(
base_url=_get_base_url(base_url=base_url, environment=environment),
api_key=api_key,
authorization=authorization,
httpx_client=httpx_client
if httpx_client is not None
else httpx.AsyncClient(timeout=_defaulted_timeout, follow_redirects=follow_redirects)