From ff4df9896220359291148d039b0ff41a09e1234d Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Sat, 11 May 2024 10:33:23 +0100 Subject: [PATCH] better --- src/textual/widget.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/textual/widget.py b/src/textual/widget.py index 608794e0f3..0f1fa9c6c4 100644 --- a/src/textual/widget.py +++ b/src/textual/widget.py @@ -636,7 +636,8 @@ def set_loading(self, loading: bool) -> Awaitable: if child.has_class(LOADING_INDICATOR_CLASS): return child.remove() - async def dummy(): ... + async def dummy() -> None: + """Do nothing if there is no indicator.""" return dummy()