mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-04 05:34:57 -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
|
@ -339,7 +339,7 @@ class Notifier:
|
|||
self,
|
||||
stream_key: str,
|
||||
new_token: Union[int, RoomStreamToken],
|
||||
users: Collection[UserID] = [],
|
||||
users: Collection[Union[str, UserID]] = [],
|
||||
rooms: Collection[str] = [],
|
||||
):
|
||||
""" Used to inform listeners that something has happened event wise.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue