mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-01 00:08:33 -04:00
Merge pull request #933 from matrix-org/rav/type_annotations
Type annotations
This commit is contained in:
commit
c68518dfbb
7 changed files with 47 additions and 0 deletions
|
@ -52,6 +52,10 @@ class RegisterRestServlet(ClientV1RestServlet):
|
|||
PATTERNS = client_path_patterns("/register$", releases=(), include_in_unstable=False)
|
||||
|
||||
def __init__(self, hs):
|
||||
"""
|
||||
Args:
|
||||
hs (synapse.server.HomeServer): server
|
||||
"""
|
||||
super(RegisterRestServlet, self).__init__(hs)
|
||||
# sessions are stored as:
|
||||
# self.sessions = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue