diff options
author | Erik Johnston <erik@matrix.org> | 2019-12-13 11:32:53 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-13 11:32:53 +0000 |
commit | 5cadbd9ebb6cc9e6e2e15ab3f77fcbca47d53392 (patch) | |
tree | 811fec2b55d1566cc294de5747842d615932b8d4 /synapse/streams | |
parent | Merge branch 'master' into develop (diff) | |
parent | Newsfile (diff) | |
download | synapse-5cadbd9ebb6cc9e6e2e15ab3f77fcbca47d53392.tar.xz |
Merge pull request #6537 from matrix-org/erikj/bump_mypy_version
Bump mypy version
Diffstat (limited to 'synapse/streams')
-rw-r--r-- | synapse/streams/events.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/streams/events.py b/synapse/streams/events.py index b91fb2db7b..fcd2aaa9c9 100644 --- a/synapse/streams/events.py +++ b/synapse/streams/events.py @@ -13,6 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. +from typing import Any, Dict + from twisted.internet import defer from synapse.handlers.account_data import AccountDataEventSource @@ -35,7 +37,7 @@ class EventSources(object): def __init__(self, hs): self.sources = { name: cls(hs) for name, cls in EventSources.SOURCE_TYPES.items() - } + } # type: Dict[str, Any] self.store = hs.get_datastore() @defer.inlineCallbacks |