Skip to content

Commit

Permalink
Fix syntax error with older version of Python
Browse files Browse the repository at this point in the history
  • Loading branch information
funilrys committed Jan 14, 2024
1 parent 3f26656 commit 89ef643
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion PyFunceble/query/collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,9 @@ def guess_all_settings(

return self

def __push_status(self, checker_type: str, data: dict | str) -> Optional[dict]:
def __push_status(
self, checker_type: str, data: Union[dict, str]
) -> Optional[dict]:
"""
Submits the given status to the collection.
Expand Down

0 comments on commit 89ef643

Please sign in to comment.