diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2020-09-29 15:57:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-29 15:57:36 +0100 |
commit | 2649d545a551dd126d73d34a6e3172916ea483e0 (patch) | |
tree | df36eb8949abbde4d8ba9e8448908328751bab1b /synapse/storage/persist_events.py | |
parent | Add support for running Complement against the local checkout (#8317) (diff) | |
download | synapse-2649d545a551dd126d73d34a6e3172916ea483e0.tar.xz |
Mypy fixes for `synapse.handlers.federation` (#8422)
For some reason, an apparently unrelated PR upset mypy about this module. Here are a number of little fixes.
Diffstat (limited to 'synapse/storage/persist_events.py')
-rw-r--r-- | synapse/storage/persist_events.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/persist_events.py b/synapse/storage/persist_events.py index 603cd7d825..ded6cf9655 100644 --- a/synapse/storage/persist_events.py +++ b/synapse/storage/persist_events.py @@ -197,7 +197,7 @@ class EventsPersistenceStorage: async def persist_events( self, - events_and_contexts: List[Tuple[EventBase, EventContext]], + events_and_contexts: Iterable[Tuple[EventBase, EventContext]], backfilled: bool = False, ) -> RoomStreamToken: """ |