mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-08-03 22:14:10 -04:00
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.
This commit is contained in:
parent
12f0d18611
commit
2649d545a5
6 changed files with 19 additions and 11 deletions
|
@ -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:
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue