summary refs log tree commit diff
path: root/synapse/events/__init__.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2020-09-02 17:52:38 +0100
committerGitHub <noreply@github.com>2020-09-02 17:52:38 +0100
commit112266eafd457204a34a76fa51d7074d0809a1db (patch)
treee860525baa50d8fc0cd5e5b5c2ce7d2a9727ee92 /synapse/events/__init__.py
parentRe-implement unread counts (again) (#8059) (diff)
downloadsynapse-112266eafd457204a34a76fa51d7074d0809a1db.tar.xz
Add StreamStore to mypy (#8232)
Diffstat (limited to 'synapse/events/__init__.py')
-rw-r--r--synapse/events/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/events/__init__.py b/synapse/events/__init__.py
index 67db763dbf..62ea44fa49 100644
--- a/synapse/events/__init__.py
+++ b/synapse/events/__init__.py
@@ -18,7 +18,7 @@
 import abc
 import os
 from distutils.util import strtobool
-from typing import Dict, Optional, Type
+from typing import Dict, Optional, Tuple, Type
 
 from unpaddedbase64 import encode_base64
 
@@ -120,7 +120,7 @@ class _EventInternalMetadata(object):
     # be here
     before = DictProperty("before")  # type: str
     after = DictProperty("after")  # type: str
-    order = DictProperty("order")  # type: int
+    order = DictProperty("order")  # type: Tuple[int, int]
 
     def get_dict(self) -> JsonDict:
         return dict(self._dict)