We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8fccd4 commit 82e4f07Copy full SHA for 82e4f07
src/textual/app.py
@@ -310,7 +310,7 @@ class MyApp(App[None]):
310
...
311
```
312
"""
313
- SCREENS: ClassVar[dict[str, Screen | Callable[[], Screen]]] = {}
+ SCREENS: ClassVar[dict[str, Screen[Any] | Callable[[], Screen[Any]]]] = {}
314
"""Screens associated with the app for the lifetime of the app."""
315
316
AUTO_FOCUS: ClassVar[str | None] = "*"
0 commit comments