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/handlers/device.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/handlers/device.py')
-rw-r--r-- | synapse/handlers/device.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/handlers/device.py b/synapse/handlers/device.py index c1d7800981..34d39e3b44 100644 --- a/synapse/handlers/device.py +++ b/synapse/handlers/device.py @@ -14,7 +14,7 @@ # See the License for the specific language governing permissions and # limitations under the License. import logging -from typing import TYPE_CHECKING, Dict, Iterable, List, Optional, Set, Tuple +from typing import TYPE_CHECKING, Collection, Dict, Iterable, List, Optional, Set, Tuple from synapse.api import errors from synapse.api.constants import EventTypes @@ -28,7 +28,6 @@ from synapse.api.errors import ( from synapse.logging.opentracing import log_kv, set_tag, trace from synapse.metrics.background_process_metrics import run_as_background_process from synapse.types import ( - Collection, JsonDict, StreamToken, UserID, |