update skyvern client (#3733)

This commit is contained in:
Shuchang Zheng
2025-10-21 14:25:45 -07:00
committed by GitHub
parent d97f85eb73
commit 1b5fad9743
101 changed files with 3069 additions and 56 deletions

View File

@@ -24,7 +24,7 @@ class BaseClientWrapper:
headers: typing.Dict[str, str] = {
"X-Fern-Language": "Python",
"X-Fern-SDK-Name": "skyvern",
"X-Fern-SDK-Version": "0.2.6",
"X-Fern-SDK-Version": "0.2.18",
}
if self._api_key is not None:
headers["x-api-key"] = self._api_key

View File

@@ -371,16 +371,6 @@ class AsyncHttpClient:
json_body, data_body = get_request_body(json=json, data=data, request_options=request_options, omit=omit)
# If omit/pruning removed everything, still send {} for methods that commonly expect a body.
if (
json_body is None
and data_body is None
and content is None
and files is None
and method.upper() in {"POST", "PUT", "PATCH"}
):
json_body = {}
# Add the input to each of these and do None-safety checks
response = await self.httpx_client.request(
method=method,