From af75e0d7222c1fb057ced2a93c75fb492fcbd1ba Mon Sep 17 00:00:00 2001 From: "H. Shay" Date: Mon, 6 Jun 2022 20:33:46 -0700 Subject: fix import errors from moving sqlite/postgres import statements in engine --- synapse/storage/databases/main/search.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'synapse/storage/databases/main/search.py') diff --git a/synapse/storage/databases/main/search.py b/synapse/storage/databases/main/search.py index 78e0773b2a..17b0d05d57 100644 --- a/synapse/storage/databases/main/search.py +++ b/synapse/storage/databases/main/search.py @@ -27,7 +27,9 @@ from synapse.storage.database import ( LoggingTransaction, ) from synapse.storage.databases.main.events_worker import EventRedactBehaviour -from synapse.storage.engines import BaseDatabaseEngine, PostgresEngine, Sqlite3Engine +from synapse.storage.engines import BaseDatabaseEngine +from synapse.storage.engines.postgres import PostgresEngine +from synapse.storage.engines.sqlite import Sqlite3Engine from synapse.types import JsonDict if TYPE_CHECKING: -- cgit 1.5.1