Skip to content

Commit

Permalink
Typing
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenburns committed Oct 7, 2024
1 parent 0fa81a3 commit fb28acf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/textual/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def __post_init__(self) -> None:
Hits: TypeAlias = AsyncIterator["DiscoveryHit | Hit"]
"""Return type for the command provider's `search` method."""

ProviderSource: TypeAlias = Iterable[type["Provider"] | Callable[[], type["Provider"]]]
ProviderSource: TypeAlias = "Iterable[type[Provider] | Callable[[], type[Provider]]]"
"""The type used to declare the providers for a CommandPalette."""


Expand Down

0 comments on commit fb28acf

Please sign in to comment.