From 8977b446587e4231b657267d1d421e7298cbfed0 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Fri, 25 Oct 2024 10:49:17 -0400 Subject: [PATCH] allow proxied to return string --- lib/ansible/utils/display.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/utils/display.py b/lib/ansible/utils/display.py index b5690c8c154..3943de654e7 100644 --- a/lib/ansible/utils/display.py +++ b/lib/ansible/utils/display.py @@ -354,7 +354,7 @@ class Display(metaclass=Singleton): @staticmethod def _proxy( func: c.Callable[t.Concatenate[Display, P], None] - ) -> c.Callable[..., None]: + ) -> c.Callable[..., None | str]: @wraps(func) def wrapper(self, *args: P.args, **kwargs: P.kwargs) -> None: if self._final_q: