Skip to content

Commit

Permalink
fix: typing on _fn_result_to_body was incorrect which was caused an e…
Browse files Browse the repository at this point in the history
…xception with cython3 (#210)
  • Loading branch information
bdraco authored Jul 24, 2023
1 parent 8425629 commit c40c7bc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/dbus_fast/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,9 @@ 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: Optional[List[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
Expand Down

0 comments on commit c40c7bc

Please sign in to comment.