From 6a14a8651b09a6f4364c8562f72be14661426f73 Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Tue, 12 Nov 2024 15:38:44 +0000 Subject: [PATCH] typing --- src/textual/visual.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/textual/visual.py b/src/textual/visual.py index 0e01646636..88a17ca7bf 100644 --- a/src/textual/visual.py +++ b/src/textual/visual.py @@ -46,7 +46,7 @@ class VisualError(Exception): """An error with the visual protocol.""" -VisualType: TypeAlias = RenderableType | SupportsTextualize | "Visual" +VisualType: TypeAlias = "RenderableType | SupportsTextualize | Visual" def visualize(widget: Widget, obj: object) -> Visual: