mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-07 16:35:05 -04:00
Add type hints to some handlers (#8505)
This commit is contained in:
parent
a97cec18bb
commit
a93f3121f8
10 changed files with 60 additions and 22 deletions
|
@ -1220,7 +1220,9 @@ class RegistrationStore(RegistrationBackgroundUpdateStore):
|
|||
desc="record_user_external_id",
|
||||
)
|
||||
|
||||
async def user_set_password_hash(self, user_id: str, password_hash: str) -> None:
|
||||
async def user_set_password_hash(
|
||||
self, user_id: str, password_hash: Optional[str]
|
||||
) -> None:
|
||||
"""
|
||||
NB. This does *not* evict any cache because the one use for this
|
||||
removes most of the entries subsequently anyway so it would be
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue