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

@ -16,13 +16,13 @@
import logging
import random
from abc import ABCMeta
from typing import TYPE_CHECKING, Any, Iterable, Optional, Union
from typing import TYPE_CHECKING, Any, Collection, Iterable, Optional, Union
from synapse.storage.database import LoggingTransaction # noqa: F401
from synapse.storage.database import make_in_list_sql_clause # noqa: F401
from synapse.storage.database import DatabasePool
from synapse.storage.types import Connection
from synapse.types import Collection, StreamToken, get_domain_from_id
from synapse.types import StreamToken, get_domain_from_id
from synapse.util import json_decoder
if TYPE_CHECKING: