Skip to content

Commit

Permalink
Merge pull request #7 from ZeroGachis/fix/py39-compat
Browse files Browse the repository at this point in the history
πŸ› Typing - Fix  Registrable Type to be compatible with py 39
  • Loading branch information
pewho authored Mar 20, 2023
2 parents a67dc02 + 7db08ad commit 0e21136
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magicparse/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def parse(
return schema_definition.parse(data)


Registrable = Schema | Transform
Registrable = Union[Schema, Transform]


def register(items: Union[Registrable, List[Registrable]]) -> None:
Expand Down

0 comments on commit 0e21136

Please sign in to comment.