mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-17 13:59:10 -04:00
Remove synapse.types.Collection
(#9856)
This is no longer required, since we have dropped support for Python 3.5.
This commit is contained in:
parent
3186324260
commit
294c675033
26 changed files with 77 additions and 62 deletions
|
@ -20,6 +20,7 @@ from time import monotonic as monotonic_time
|
|||
from typing import (
|
||||
Any,
|
||||
Callable,
|
||||
Collection,
|
||||
Dict,
|
||||
Iterable,
|
||||
Iterator,
|
||||
|
@ -48,7 +49,6 @@ from synapse.metrics.background_process_metrics import run_as_background_process
|
|||
from synapse.storage.background_updates import BackgroundUpdater
|
||||
from synapse.storage.engines import BaseDatabaseEngine, PostgresEngine, Sqlite3Engine
|
||||
from synapse.storage.types import Connection, Cursor
|
||||
from synapse.types import Collection
|
||||
|
||||
# python 3 does not have a maximum int value
|
||||
MAX_TXN_ID = 2 ** 63 - 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue