Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/7291.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Improve typing annotations in `synapse.replication.tcp.streams.Stream`.
5 changes: 1 addition & 4 deletions synapse/replication/tcp/streams/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
update_function: The function that returns a list of updates between two tokens
"""

from typing import Dict, Type

from synapse.replication.tcp.streams._base import (
AccountDataStream,
BackfillStream,
Expand Down Expand Up @@ -67,8 +65,7 @@
GroupServerStream,
UserSignatureStream,
)
} # type: Dict[str, Type[Stream]]

}

__all__ = [
"STREAMS_MAP",
Expand Down
Loading