mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 11:24:50 -04:00
Fixup synapse.api to pass mypy (#6733)
This commit is contained in:
parent
ceecedc68b
commit
0f6e525be3
6 changed files with 14 additions and 4 deletions
|
@ -634,7 +634,7 @@ def get_public_keys(invite_event):
|
|||
return public_keys
|
||||
|
||||
|
||||
def auth_types_for_event(event) -> Set[Tuple[str]]:
|
||||
def auth_types_for_event(event) -> Set[Tuple[str, str]]:
|
||||
"""Given an event, return a list of (EventType, StateKey) that may be
|
||||
needed to auth the event. The returned list may be a superset of what
|
||||
would actually be required depending on the full state of the room.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue