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.
2 parents 39e700e + 82e4f07 commit babbc40Copy full SHA for babbc40
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