mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-05-12 18:22:10 -04:00
Use inline type hints in handlers/
and rest/
. (#10382)
This commit is contained in:
parent
36dc15412d
commit
98aec1cc9d
43 changed files with 212 additions and 215 deletions
|
@ -357,7 +357,7 @@ class UserRegisterServlet(RestServlet):
|
|||
def __init__(self, hs: "HomeServer"):
|
||||
self.auth_handler = hs.get_auth_handler()
|
||||
self.reactor = hs.get_reactor()
|
||||
self.nonces = {} # type: Dict[str, int]
|
||||
self.nonces: Dict[str, int] = {}
|
||||
self.hs = hs
|
||||
|
||||
def _clear_old_nonces(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue