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

Add type hints to synapse/storage/databases/main/events_worker.py #11411

Merged
merged 15 commits into from
Nov 26, 2021
Merged
4 changes: 2 additions & 2 deletions synapse/storage/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from synapse.storage.database import make_in_list_sql_clause # noqa: F401
from synapse.storage.database import DatabasePool
from synapse.storage.types import Connection
from synapse.types import StreamToken, get_domain_from_id
from synapse.types import get_domain_from_id
from synapse.util import json_decoder

if TYPE_CHECKING:
Expand All @@ -48,7 +48,7 @@ def process_replication_rows(
self,
stream_name: str,
instance_name: str,
token: StreamToken,
DMRobertson marked this conversation as resolved.
Show resolved Hide resolved
token: int,
rows: Iterable[Any],
) -> None:
pass
Expand Down