mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-22 20:50:23 +03:00
Possibly appease mypy
This commit is contained in:
parent
f5fd9b98c7
commit
4ac60a17a5
1 changed files with 5 additions and 0 deletions
|
@ -16,6 +16,11 @@ import platform
|
|||
|
||||
from ._base import BaseDatabaseEngine, IncorrectDatabaseSetup
|
||||
|
||||
MYPY = False
|
||||
if MYPY:
|
||||
from .sqlite import Sqlite3Engine
|
||||
from .postgres import PostgresEngine
|
||||
|
||||
|
||||
def create_engine(database_config) -> BaseDatabaseEngine:
|
||||
name = database_config["name"]
|
||||
|
|
Loading…
Reference in a new issue