Skip to content

Commit

Permalink
fix: lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
noble-varghese committed Dec 7, 2023
1 parent 559ed0a commit 9c26327
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion portkey_ai/api_resources/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 {}

Expand Down

0 comments on commit 9c26327

Please sign in to comment.