fix: result typing in ServiceInterface._handle_signal (#214)

This commit is contained in:
J. Nick Koston 2023-07-28 12:07:54 -05:00 committed by GitHub
parent f23946c901
commit 5bda04b089
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -534,7 +534,7 @@ class ServiceInterface:
@staticmethod
def _handle_signal(
interface: "ServiceInterface", signal: _Signal, result: List[Any]
interface: "ServiceInterface", signal: _Signal, result: Optional[Any]
) -> None:
body, fds = ServiceInterface._fn_result_to_body(result, signal.signature_tree)
for bus in ServiceInterface._get_buses(interface):