|
@@ -1,6 +1,6 @@
|
|
-import uuid
|
|
|
|
from urllib import parse
|
|
from urllib import parse
|
|
|
|
|
|
|
|
+import uuid
|
|
import yaml
|
|
import yaml
|
|
from sqlalchemy import create_engine
|
|
from sqlalchemy import create_engine
|
|
|
|
|
|
@@ -13,7 +13,7 @@ def get_db_engine(db_info):
|
|
db_info['host'],
|
|
db_info['host'],
|
|
db_info['port'],
|
|
db_info['port'],
|
|
db_info['database'])
|
|
db_info['database'])
|
|
- engine = create_engine(db_con_str, connect_args={'charset': 'utf8mb4'})
|
|
|
|
|
|
+ engine = create_engine(db_con_str, connect_args={'charset': 'utf8mb4'}, poolclass=None)
|
|
return engine
|
|
return engine
|
|
|
|
|
|
|
|
|