allow proxied to return string

pull/82409/head
Brian Coca 1 month ago
parent b15acb6d7e
commit 8977b44658

@ -354,7 +354,7 @@ class Display(metaclass=Singleton):
@staticmethod @staticmethod
def _proxy( def _proxy(
func: c.Callable[t.Concatenate[Display, P], None] func: c.Callable[t.Concatenate[Display, P], None]
) -> c.Callable[..., None]: ) -> c.Callable[..., None | str]:
@wraps(func) @wraps(func)
def wrapper(self, *args: P.args, **kwargs: P.kwargs) -> None: def wrapper(self, *args: P.args, **kwargs: P.kwargs) -> None:
if self._final_q: if self._final_q:

Loading…
Cancel
Save