Update mypy configuration: no_implicit_optional = True (#9742)

This commit is contained in:
Jonathan de Jong 2021-04-05 15:10:18 +02:00 committed by GitHub
parent 4609e58970
commit e2b8a90897
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 21 additions and 11 deletions

View file

@ -548,7 +548,7 @@ class Notifier:
pagination_config: PaginationConfig,
timeout: int,
is_guest: bool = False,
explicit_room_id: str = None,
explicit_room_id: Optional[str] = None,
) -> EventStreamResult:
"""For the given user and rooms, return any new events for them. If
there are no new events wait for up to `timeout` milliseconds for any