From 9c26327863ea9093b934567ba01f75b2426382f7 Mon Sep 17 00:00:00 2001 From: noble-varghese Date: Thu, 7 Dec 2023 22:26:15 +0530 Subject: [PATCH] fix: lint fixes --- portkey_ai/api_resources/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portkey_ai/api_resources/utils.py b/portkey_ai/api_resources/utils.py index 86f9a596..a4825b5b 100644 --- a/portkey_ai/api_resources/utils.py +++ b/portkey_ai/api_resources/utils.py @@ -537,7 +537,7 @@ def get_portkey_header(key: str) -> str: return f"{PORTKEY_HEADER_PREFIX}{key}" -def parse_headers(headers: httpx.Headers | None) -> dict: +def parse_headers(headers: Optional[httpx.Headers]) -> dict: if headers is None: return {}