Possibly appease mypy

This commit is contained in:
Andrew Morgan 2020-03-25 15:46:28 +00:00
parent f5fd9b98c7
commit 4ac60a17a5

View file

@ -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"]