Skip to content

Commit

Permalink
Merge pull request #3941 from elenakrittik/patch-1
Browse files Browse the repository at this point in the history
fix(typing): Add missing generic parameter
  • Loading branch information
rodrigogiraoserrao authored Jan 4, 2024
2 parents 39e700e + 82e4f07 commit babbc40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/textual/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ class MyApp(App[None]):
...
```
"""
SCREENS: ClassVar[dict[str, Screen | Callable[[], Screen]]] = {}
SCREENS: ClassVar[dict[str, Screen[Any] | Callable[[], Screen[Any]]]] = {}
"""Screens associated with the app for the lifetime of the app."""

AUTO_FOCUS: ClassVar[str | None] = "*"
Expand Down

0 comments on commit babbc40

Please sign in to comment.