From 2f5fc3800702f6eb680d94de94b997ed5d8b9b77 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 27 Jul 2023 15:38:09 -0500 Subject: [PATCH] fix: relax typing on _fn_result_to_body to allow Any (#212) --- src/dbus_fast/service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dbus_fast/service.py b/src/dbus_fast/service.py index 0eff2b77..57e5cc47 100644 --- a/src/dbus_fast/service.py +++ b/src/dbus_fast/service.py @@ -504,7 +504,7 @@ def _msg_body_to_args(msg: Message) -> List[Any]: @staticmethod def _fn_result_to_body( - result: Optional[List[Any]], + result: Optional[Any], signature_tree: SignatureTree, replace_fds: bool = True, ) -> Tuple[List[Any], List[int]]: