mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-15 20:50:13 -04:00
Run Black. (#5482)
This commit is contained in:
parent
7dcf984075
commit
32e7c9e7f2
376 changed files with 9142 additions and 10388 deletions
|
@ -37,8 +37,16 @@ class ReplicationRegisterServlet(ReplicationEndpoint):
|
|||
|
||||
@staticmethod
|
||||
def _serialize_payload(
|
||||
user_id, token, password_hash, was_guest, make_guest, appservice_id,
|
||||
create_profile_with_displayname, admin, user_type, address,
|
||||
user_id,
|
||||
token,
|
||||
password_hash,
|
||||
was_guest,
|
||||
make_guest,
|
||||
appservice_id,
|
||||
create_profile_with_displayname,
|
||||
admin,
|
||||
user_type,
|
||||
address,
|
||||
):
|
||||
"""
|
||||
Args:
|
||||
|
@ -85,7 +93,7 @@ class ReplicationRegisterServlet(ReplicationEndpoint):
|
|||
create_profile_with_displayname=content["create_profile_with_displayname"],
|
||||
admin=content["admin"],
|
||||
user_type=content["user_type"],
|
||||
address=content["address"]
|
||||
address=content["address"],
|
||||
)
|
||||
|
||||
defer.returnValue((200, {}))
|
||||
|
@ -104,8 +112,7 @@ class ReplicationPostRegisterActionsServlet(ReplicationEndpoint):
|
|||
self.registration_handler = hs.get_registration_handler()
|
||||
|
||||
@staticmethod
|
||||
def _serialize_payload(user_id, auth_result, access_token, bind_email,
|
||||
bind_msisdn):
|
||||
def _serialize_payload(user_id, auth_result, access_token, bind_email, bind_msisdn):
|
||||
"""
|
||||
Args:
|
||||
user_id (str): The user ID that consented
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue