Add final type hint to synapse.server. (#15035)

This commit is contained in:
Patrick Cloke 2023-02-09 09:49:04 -05:00 committed by GitHub
parent 7081bb56e2
commit 733531ee3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 11 additions and 12 deletions

View file

@ -306,7 +306,7 @@ class PersistEventsStore:
# The set of event_ids to return. This includes all soft-failed events
# and their prev events.
existing_prevs = set()
existing_prevs: Set[str] = set()
def _get_prevs_before_rejected_txn(
txn: LoggingTransaction, batch: Collection[str]