diff options
author | Sean Quah <8349537+squahtx@users.noreply.github.com> | 2022-02-18 15:57:26 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-18 15:57:26 +0000 |
commit | e6acd3cf4fe6910e99683c2ebe3dd917f0a3ae14 (patch) | |
tree | a65f548f8ba5e67a20149d805770166e169a0397 /synapse/push/httppusher.py | |
parent | Fix bug in `StateFilter.return_expanded()` and add some tests. (#12016) (diff) | |
download | synapse-e6acd3cf4fe6910e99683c2ebe3dd917f0a3ae14.tar.xz |
Upgrade mypy to version 0.931 (#12030)
Upgrade mypy to 0.931, mypy-zope to 0.3.5 and fix new complaints.
Diffstat (limited to 'synapse/push/httppusher.py')
-rw-r--r-- | synapse/push/httppusher.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/push/httppusher.py b/synapse/push/httppusher.py index 49bcc06e0b..52c7ff3572 100644 --- a/synapse/push/httppusher.py +++ b/synapse/push/httppusher.py @@ -325,7 +325,7 @@ class HttpPusher(Pusher): # This was checked in the __init__, but mypy doesn't seem to know that. assert self.data is not None if self.data.get("format") == "event_id_only": - d = { + d: Dict[str, Any] = { "notification": { "event_id": event.event_id, "room_id": event.room_id, |