Skip to content

Commit 03202e0

Browse files
committed
increase default timeout to 10 minutes
1 parent 99c6385 commit 03202e0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/unstructured_client/sdk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def __init__(
2828
client: Optional[HttpClient] = None,
2929
async_client: Optional[AsyncHttpClient] = None,
3030
retry_config: OptionalNullable[RetryConfig] = UNSET,
31-
timeout_ms: Optional[int] = None,
31+
timeout_ms: int = 10 * 60 * 1000,
3232
debug_logger: Optional[Logger] = None,
3333
) -> None:
3434
r"""Instantiates the SDK configuring it with the provided parameters.

src/unstructured_client/sdkconfiguration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class SDKConfiguration:
3838
gen_version: str = "2.438.15"
3939
user_agent: str = "speakeasy-sdk/python 0.26.2 2.438.15 1.0.51 unstructured-client"
4040
retry_config: OptionalNullable[RetryConfig] = Field(default_factory=lambda: UNSET)
41-
timeout_ms: Optional[int] = None
41+
timeout_ms: int = 10 * 60 * 1000
4242

4343
def __post_init__(self):
4444
self._hooks = SDKHooks()

0 commit comments

Comments
 (0)