Skip to content

Commit

Permalink
[chore] the | operand with custom types is supported only in python 3…
Browse files Browse the repository at this point in the history
….10+
  • Loading branch information
mangiucugna committed May 26, 2024
1 parent ae2a019 commit c26b4eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/json_repair/json_repair.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def __init__(self, log_level: Optional[str]):
class JSONParser:
def __init__(
self,
json_str: str | StringFileWrapper,
json_str: Union[str, StringFileWrapper],
json_fd: Optional[TextIO],
logging: Optional[bool],
) -> None:
Expand Down

0 comments on commit c26b4eb

Please sign in to comment.