Skip to content

Commit

Permalink
fix: replace Python 3.10+ type hint dict | None with `t.Optional[di…
Browse files Browse the repository at this point in the history
…ct]` for Python 3.9 compatibility
  • Loading branch information
itsnedhir committed Nov 21, 2024
1 parent f12078a commit 00c993e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hrflow_connectors/v2/connectors/bullhorn/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def to_int(elm: t.Any) -> int:
return int(elm)


def get_location(info: dict) -> dict | None:
def get_location(info: dict) -> t.Optional[dict]:
if info:
location = info.get("location")
if location is None:
Expand Down

0 comments on commit 00c993e

Please sign in to comment.