From 68bc300877c720ccb166af5b6b48216e62b8efb2 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 27 Jul 2023 14:19:43 -0500 Subject: [PATCH] fix: relax typing on _fn_result_to_body to allow Any --- 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 7f5b474a..56977c0f 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: List[Any], signature_tree: SignatureTree, replace_fds: bool = True + result: Any, signature_tree: SignatureTree, replace_fds: bool = True ) -> Tuple[List[Any], List[int]]: """The high level interfaces may return single values which may be wrapped in a list to be a message body. Also they may return fds