From d4b4c9841b57f3162cbdb52c89df81a4fb5b7254 Mon Sep 17 00:00:00 2001 From: Eugene Yurtsev Date: Thu, 19 Dec 2024 10:18:35 -0500 Subject: [PATCH] x --- langserve/client.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/langserve/client.py b/langserve/client.py index 93e23919..859cceee 100644 --- a/langserve/client.py +++ b/langserve/client.py @@ -8,6 +8,7 @@ from concurrent.futures import ThreadPoolExecutor from functools import lru_cache from typing import ( + TYPE_CHECKING, Any, AsyncIterator, Dict, @@ -49,9 +50,8 @@ logger = logging.getLogger(__name__) -import typing - -if typing.TYPE_CHECKING: # We simply follow the way httpx do +if TYPE_CHECKING: + # For type checking httpx types import ssl