Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Fizzadar committed Jul 12, 2022
1 parent 45157fa commit b1f11cc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion synapse/storage/databases/main/stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -1059,7 +1059,9 @@ def get_all_new_events_stream_txn(
if len(rows) == limit:
upper_bound = rows[-1][0]

event_to_received_ts: Dict[str, Optional[int]] = {row[1]: row[2] for row in rows}
event_to_received_ts: Dict[str, Optional[int]] = {
row[1]: row[2] for row in rows
}
return upper_bound, event_to_received_ts

upper_bound, event_to_received_ts = await self.db_pool.runInteraction(
Expand Down

0 comments on commit b1f11cc

Please sign in to comment.