From 56ea69fecfa4f3d5e079da865ef6a91fc581c52e Mon Sep 17 00:00:00 2001 From: Eric Eastwood Date: Fri, 19 Nov 2021 01:51:05 -0600 Subject: Fix incompatible type ``` synapse/replication/http/federation.py:72: error: Signature of "_serialize_payload" incompatible with supertype "ReplicationEndpoint" [override] ``` --- synapse/replication/http/federation.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/synapse/replication/http/federation.py b/synapse/replication/http/federation.py index 68c6a470f7..ff5f919161 100644 --- a/synapse/replication/http/federation.py +++ b/synapse/replication/http/federation.py @@ -73,12 +73,11 @@ class ReplicationFederationSendEventsRestServlet(ReplicationEndpoint): store, room_id, event_and_contexts, - *, - inhibit_push_notifications: bool = False, - should_calculate_state_and_forward_extrems: bool = True, - use_negative_stream_ordering: bool = False, - inhibit_local_membership_updates: bool = False, - update_room_forward_stream_ordering: bool = True, + inhibit_push_notifications, + should_calculate_state_and_forward_extrems, + use_negative_stream_ordering, + inhibit_local_membership_updates, + update_room_forward_stream_ordering, ): """ Args: -- cgit 1.5.1