summary refs log tree commit diff
path: root/synapse/streams/events.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-12-12 15:21:12 +0000
committerErik Johnston <erik@matrix.org>2019-12-12 15:21:12 +0000
commit495005360cd37009818ad4214a5462c3dd0b15a6 (patch)
tree4028a737f4294313814469b5798ed7cc9f81813c /synapse/streams/events.py
parentNewsfile (diff)
downloadsynapse-495005360cd37009818ad4214a5462c3dd0b15a6.tar.xz
Bump version of mypy
Diffstat (limited to 'synapse/streams/events.py')
-rw-r--r--synapse/streams/events.py4
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