@@ -211,6 +211,7 @@ def __init__(self, hs: "HomeServer", auth_handler: AuthHandler) -> None:
211211
212212 def register_spam_checker_callbacks (
213213 self ,
214+ * ,
214215 check_event_for_spam : Optional [CHECK_EVENT_FOR_SPAM_CALLBACK ] = None ,
215216 user_may_join_room : Optional [USER_MAY_JOIN_ROOM_CALLBACK ] = None ,
216217 user_may_invite : Optional [USER_MAY_INVITE_CALLBACK ] = None ,
@@ -245,6 +246,7 @@ def register_spam_checker_callbacks(
245246
246247 def register_account_validity_callbacks (
247248 self ,
249+ * ,
248250 is_user_expired : Optional [IS_USER_EXPIRED_CALLBACK ] = None ,
249251 on_user_registration : Optional [ON_USER_REGISTRATION_CALLBACK ] = None ,
250252 on_legacy_send_mail : Optional [ON_LEGACY_SEND_MAIL_CALLBACK ] = None ,
@@ -265,6 +267,7 @@ def register_account_validity_callbacks(
265267
266268 def register_third_party_rules_callbacks (
267269 self ,
270+ * ,
268271 check_event_allowed : Optional [CHECK_EVENT_ALLOWED_CALLBACK ] = None ,
269272 on_create_room : Optional [ON_CREATE_ROOM_CALLBACK ] = None ,
270273 check_threepid_can_be_invited : Optional [
@@ -289,6 +292,7 @@ def register_third_party_rules_callbacks(
289292
290293 def register_presence_router_callbacks (
291294 self ,
295+ * ,
292296 get_users_for_states : Optional [GET_USERS_FOR_STATES_CALLBACK ] = None ,
293297 get_interested_users : Optional [GET_INTERESTED_USERS_CALLBACK ] = None ,
294298 ) -> None :
@@ -303,6 +307,7 @@ def register_presence_router_callbacks(
303307
304308 def register_password_auth_provider_callbacks (
305309 self ,
310+ * ,
306311 check_3pid_auth : Optional [CHECK_3PID_AUTH_CALLBACK ] = None ,
307312 on_logged_out : Optional [ON_LOGGED_OUT_CALLBACK ] = None ,
308313 auth_checkers : Optional [
@@ -327,6 +332,7 @@ def register_password_auth_provider_callbacks(
327332
328333 def register_background_update_controller_callbacks (
329334 self ,
335+ * ,
330336 on_update : ON_UPDATE_CALLBACK ,
331337 default_batch_size : Optional [DEFAULT_BATCH_SIZE_CALLBACK ] = None ,
332338 min_batch_size : Optional [MIN_BATCH_SIZE_CALLBACK ] = None ,
0 commit comments