From 287c4f33debf275b9586e319117083588afcb15a Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Fri, 19 Apr 2024 15:45:24 -0700 Subject: [PATCH] fix(http_handler.py): fix linting error --- litellm/llms/custom_httpx/http_handler.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/litellm/llms/custom_httpx/http_handler.py b/litellm/llms/custom_httpx/http_handler.py index 3ab8577236..7c7d4938a4 100644 --- a/litellm/llms/custom_httpx/http_handler.py +++ b/litellm/llms/custom_httpx/http_handler.py @@ -41,14 +41,10 @@ class AsyncHTTPHandler: data: Optional[Union[dict, str]] = None, # type: ignore params: Optional[dict] = None, headers: Optional[dict] = None, - stream: Optional[bool] = False + stream: bool = False, ): req = self.client.build_request( - "POST", - url, - data=data, # type: ignore - params=params, - headers=headers + "POST", url, data=data, params=params, headers=headers # type: ignore ) response = await self.client.send(req, stream=stream) return response