Remove synapse.types.Collection (#9856)

This is no longer required, since we have dropped support for Python 3.5.
This commit is contained in:
Richard van der Hoff 2021-04-22 16:43:50 +01:00 committed by GitHub
parent 3186324260
commit 294c675033
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
26 changed files with 77 additions and 62 deletions

View file

@ -14,7 +14,17 @@
import abc
import logging
from typing import TYPE_CHECKING, Dict, Hashable, Iterable, List, Optional, Set, Tuple
from typing import (
TYPE_CHECKING,
Collection,
Dict,
Hashable,
Iterable,
List,
Optional,
Set,
Tuple,
)
from prometheus_client import Counter
@ -31,7 +41,7 @@ from synapse.metrics import (
events_processed_counter,
)
from synapse.metrics.background_process_metrics import run_as_background_process
from synapse.types import Collection, JsonDict, ReadReceipt, RoomStreamToken
from synapse.types import JsonDict, ReadReceipt, RoomStreamToken
from synapse.util.metrics import Measure
if TYPE_CHECKING: