From 68f2e605d133b699e685a3d006fdaf7fc2dff068 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 4 Feb 2025 03:02:24 +0000 Subject: [PATCH] chore(internal): change default timeout to an int (#56) --- src/bespokelabs/_constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bespokelabs/_constants.py b/src/bespokelabs/_constants.py index a2ac3b6..6ddf2c7 100644 --- a/src/bespokelabs/_constants.py +++ b/src/bespokelabs/_constants.py @@ -6,7 +6,7 @@ OVERRIDE_CAST_TO_HEADER = "____stainless_override_cast_to" # default timeout is 1 minute -DEFAULT_TIMEOUT = httpx.Timeout(timeout=60.0, connect=5.0) +DEFAULT_TIMEOUT = httpx.Timeout(timeout=60, connect=5.0) DEFAULT_MAX_RETRIES = 2 DEFAULT_CONNECTION_LIMITS = httpx.Limits(max_connections=100, max_keepalive_connections=20)