diff options
author | Erik Johnston <erik@matrix.org> | 2020-09-02 17:52:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-02 17:52:38 +0100 |
commit | 112266eafd457204a34a76fa51d7074d0809a1db (patch) | |
tree | e860525baa50d8fc0cd5e5b5c2ce7d2a9727ee92 /synapse/events | |
parent | Re-implement unread counts (again) (#8059) (diff) | |
download | synapse-112266eafd457204a34a76fa51d7074d0809a1db.tar.xz |
Add StreamStore to mypy (#8232)
Diffstat (limited to 'synapse/events')
-rw-r--r-- | synapse/events/__init__.py | 4 |
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) |