diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2021-04-22 16:43:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-22 16:43:50 +0100 |
commit | 294c67503300b6bfa7785a5cfa55e25c1e452574 (patch) | |
tree | 51ce6340ba5f84e6cfb3dd53dd3e0c236105ce83 /synapse/notifier.py | |
parent | Merge branch 'master' into develop (diff) | |
download | synapse-294c67503300b6bfa7785a5cfa55e25c1e452574.tar.xz |
Remove `synapse.types.Collection` (#9856)
This is no longer required, since we have dropped support for Python 3.5.
Diffstat (limited to 'synapse/notifier.py')
-rw-r--r-- | synapse/notifier.py | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/synapse/notifier.py b/synapse/notifier.py index d5ab77058d..b9531007e2 100644 --- a/synapse/notifier.py +++ b/synapse/notifier.py @@ -17,6 +17,7 @@ from collections import namedtuple from typing import ( Awaitable, Callable, + Collection, Dict, Iterable, List, @@ -42,13 +43,7 @@ from synapse.logging.opentracing import log_kv, start_active_span from synapse.logging.utils import log_function from synapse.metrics import LaterGauge from synapse.streams.config import PaginationConfig -from synapse.types import ( - Collection, - PersistedEventPosition, - RoomStreamToken, - StreamToken, - UserID, -) +from synapse.types import PersistedEventPosition, RoomStreamToken, StreamToken, UserID from synapse.util.async_helpers import ObservableDeferred, timeout_deferred from synapse.util.metrics import Measure from synapse.visibility import filter_events_for_client |