Source

fabulator / src / fabulator / core / db / __init__.py

Diff from to

File src/fabulator/core/db/__init__.py

+from mysql import MySQL
+from pgsql import PgSQL
+
+databases = {
+    "mysql" : MySQL,
+    "pgsql" : PgSQL,
+}
+
+def database_factory(database, conf):
+    return databases[database.lower()](conf)
+