mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-13 10:25:25 -04:00
Remove redundant types from comments. (#14412)
Remove type hints from comments which have been added as Python type hints. This helps avoid drift between comments and reality, as well as removing redundant information. Also adds some missing type hints which were simple to fill in.
This commit is contained in:
parent
882277008c
commit
d8cc86eff4
55 changed files with 174 additions and 176 deletions
|
@ -170,11 +170,13 @@ class ResourceLimitsServerNotices:
|
|||
room_id: The room id of the server notices room
|
||||
|
||||
Returns:
|
||||
bool: Is the room currently blocked
|
||||
list: The list of pinned event IDs that are unrelated to limit blocking
|
||||
This list can be used as a convenience in the case where the block
|
||||
is to be lifted and the remaining pinned event references need to be
|
||||
preserved
|
||||
Tuple of:
|
||||
Is the room currently blocked
|
||||
|
||||
The list of pinned event IDs that are unrelated to limit blocking
|
||||
This list can be used as a convenience in the case where the block
|
||||
is to be lifted and the remaining pinned event references need to be
|
||||
preserved
|
||||
"""
|
||||
currently_blocked = False
|
||||
pinned_state_event = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue