Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Port some admin handlers to async/await #6559

Merged
merged 3 commits into from
Dec 19, 2019
Merged

Conversation

erikjohnston
Copy link
Member

No description provided.

@erikjohnston erikjohnston requested a review from a team December 17, 2019 13:13
@@ -119,8 +113,7 @@ def set_user_server_admin(self, user, admin):
"""
return self.store.set_server_admin(user, admin)

@defer.inlineCallbacks
def export_user_data(self, user_id, writer):
async def export_user_data(self, user_id, writer):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this one looks like it's got a yield in admin_cmd.py

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh good point. Apparently even searching for function references correctly was too much for me on Tuesday

@erikjohnston erikjohnston requested a review from a team December 19, 2019 11:04
@erikjohnston erikjohnston merged commit 3d46124 into develop Dec 19, 2019
@erikjohnston erikjohnston deleted the erikj/async_await branch January 9, 2020 15:47
@clokep clokep mentioned this pull request Jul 30, 2020
48 tasks
babolivier pushed a commit that referenced this pull request Sep 1, 2021
* commit '3d46124ad':
  Port some admin handlers to async/await (#6559)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants