Review comments

This commit is contained in:
Erik Johnston 2019-09-25 17:22:33 +01:00
parent f8b02c5420
commit 39b50ad42a
4 changed files with 4 additions and 7 deletions

View file

@ -148,11 +148,8 @@ class BackgroundUpdateStore(SQLBaseStore):
return False
async def has_completed_background_update(self, update_name):
async def has_completed_background_update(self, update_name) -> bool:
"""Check if the given background update has finished running.
Returns:
Deferred[bool]
"""
if self._all_done: