Skip to content

Commit

Permalink
typing: Changes a nested type alias definition to a string
Browse files Browse the repository at this point in the history
The prior state led to failures with older Python versions in other
installation contexts.
  • Loading branch information
funkyfuture committed Nov 3, 2024
1 parent 8c35d82 commit a73a8bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _delb/typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
SecondOrderDecorator: TypeAlias = "Callable[[GenericDecorated], GenericDecorated]"

Filter: TypeAlias = "Callable[[NodeBase], bool]"
NamespaceDeclarations: TypeAlias = Mapping[str | None, str]
NamespaceDeclarations: TypeAlias = "Mapping[str | None, str]"
NodeSource: TypeAlias = Union[str, "NodeBase", "_TagDefinition"]

LoaderResult: TypeAlias = Union["etree._ElementTree", str]
Expand Down

0 comments on commit a73a8bf

Please sign in to comment.