This commit is contained in:
Patrick Cloke 2023-11-09 15:01:30 -05:00
parent 7b82cba4bc
commit f118aa6889
3 changed files with 2 additions and 4 deletions

View File

@ -59,10 +59,10 @@ from synapse.metrics.background_process_metrics import run_as_background_process
from synapse.storage.background_updates import BackgroundUpdater from synapse.storage.background_updates import BackgroundUpdater
from synapse.storage.engines import ( from synapse.storage.engines import (
BaseDatabaseEngine, BaseDatabaseEngine,
PostgresEngine,
Psycopg2Engine, Psycopg2Engine,
PsycopgEngine, PsycopgEngine,
Sqlite3Engine, Sqlite3Engine,
PostgresEngine,
) )
from synapse.storage.types import Connection, Cursor, SQLQueryParameters from synapse.storage.types import Connection, Cursor, SQLQueryParameters
from synapse.util.async_helpers import delay_cancellation from synapse.util.async_helpers import delay_cancellation

View File

@ -47,7 +47,7 @@ from synapse.storage.database import (
) )
from synapse.storage.databases.main.events_worker import EventsWorkerStore from synapse.storage.databases.main.events_worker import EventsWorkerStore
from synapse.storage.databases.main.signatures import SignatureWorkerStore from synapse.storage.databases.main.signatures import SignatureWorkerStore
from synapse.storage.engines import PostgresEngine, Psycopg2Engine, Sqlite3Engine from synapse.storage.engines import PostgresEngine, Sqlite3Engine
from synapse.types import JsonDict, StrCollection from synapse.types import JsonDict, StrCollection
from synapse.util import json_encoder from synapse.util import json_encoder
from synapse.util.caches.descriptors import cached from synapse.util.caches.descriptors import cached

View File

@ -47,8 +47,6 @@ from synapse.storage.databases.main.stream import (
generate_pagination_where_clause, generate_pagination_where_clause,
) )
from synapse.storage.engines import PostgresEngine, Psycopg2Engine from synapse.storage.engines import PostgresEngine, Psycopg2Engine
from synapse.types import JsonDict, StreamKeyType, StreamToken
from synapse.storage.engines import PostgresEngine
from synapse.types import JsonDict, MultiWriterStreamToken, StreamKeyType, StreamToken from synapse.types import JsonDict, MultiWriterStreamToken, StreamKeyType, StreamToken
from synapse.util.caches.descriptors import cached, cachedList from synapse.util.caches.descriptors import cached, cachedList