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 d2467ef + 4e08515 commit d9acae2Copy full SHA for d9acae2
src/textual/app.py
@@ -71,6 +71,7 @@
71
on,
72
)
73
from textual._animator import DEFAULT_EASING, Animatable, Animator, EasingFunction
74
+from textual.visual import Visual, SupportsVisual
75
from textual._ansi_sequences import SYNC_END, SYNC_START
76
from textual._ansi_theme import ALABASTER, MONOKAI
77
from textual._callback import invoke
@@ -152,7 +153,7 @@
152
153
_ASYNCIO_GET_EVENT_LOOP_IS_DEPRECATED = sys.version_info >= (3, 10, 0)
154
155
ComposeResult = Iterable[Widget]
-RenderResult = "RenderableType | Visual | SupportsTextualize"
156
+RenderResult: TypeAlias = "RenderableType | Visual | SupportsVisual"
157
"""Result of Widget.render()"""
158
159
AutopilotCallbackType: TypeAlias = (
0 commit comments