fix: typing on _fn_result_to_body was incorrect which was caused an exception with cython3 (#210)
This commit is contained in:
parent
842562937c
commit
c40c7bcc4a
@ -504,7 +504,9 @@ class ServiceInterface:
|
||||
|
||||
@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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user