From 0eda0607f96dcc36afa7711b19ff4d7bd73f014a Mon Sep 17 00:00:00 2001 From: Aliaksandr Kuzmik Date: Tue, 3 Dec 2024 18:47:51 +0100 Subject: [PATCH] Fix lint errors --- sdks/python/src/opik/api_objects/opik_client.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sdks/python/src/opik/api_objects/opik_client.py b/sdks/python/src/opik/api_objects/opik_client.py index 177af477c0..fd140a98fc 100644 --- a/sdks/python/src/opik/api_objects/opik_client.py +++ b/sdks/python/src/opik/api_objects/opik_client.py @@ -37,6 +37,7 @@ LOGGER = logging.getLogger(__name__) OPIK_API_REQUESTS_TIMEOUT_SECONDS = 5.0 + class Opik: def __init__( self, @@ -90,7 +91,7 @@ def _initialize_streamer( base_url=base_url, httpx_client=httpx_client_, ) - self._rest_client._client_wrapper._timeout = OPIK_API_REQUESTS_TIMEOUT_SECONDS # See https://github.com/fern-api/fern/issues/5321 + self._rest_client._client_wrapper._timeout = OPIK_API_REQUESTS_TIMEOUT_SECONDS # See https://github.com/fern-api/fern/issues/5321 rest_client_configurator.configure(self._rest_client) self._streamer = streamer_constructors.construct_online_streamer( n_consumers=workers,