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 {}