diff options
author | Dirk Klimpel <5740567+dklimpel@users.noreply.github.com> | 2022-04-27 14:05:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-27 13:05:00 +0100 |
commit | b76f1a4d5f918def1f643910939b80e9e035e07f (patch) | |
tree | b0492ace0e54340b0b40d990a298c2c249274427 /synapse/storage/databases/main/state.py | |
parent | Bound ephemeral events by key (#12544) (diff) | |
download | synapse-b76f1a4d5f918def1f643910939b80e9e035e07f.tar.xz |
Add some type hints to datastore (#12485)
Diffstat (limited to 'synapse/storage/databases/main/state.py')
-rw-r--r-- | synapse/storage/databases/main/state.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/storage/databases/main/state.py b/synapse/storage/databases/main/state.py index e653841fe5..5e340bd03d 100644 --- a/synapse/storage/databases/main/state.py +++ b/synapse/storage/databases/main/state.py @@ -370,10 +370,10 @@ class StateGroupWorkerStore(EventsWorkerStore, SQLBaseStore): def _update_state_for_partial_state_event_txn( self, - txn, + txn: LoggingTransaction, event: EventBase, context: EventContext, - ): + ) -> None: # we shouldn't have any outliers here assert not event.internal_metadata.is_outlier() |