Fix in sqlalchemy
This commit is contained in:
parent
5a427b1c15
commit
a22f39d9be
1 changed files with 2 additions and 0 deletions
|
|
@ -64,6 +64,8 @@ class SqlClass:
|
||||||
|
|
||||||
self.conn=engine.raw_connection()
|
self.conn=engine.raw_connection()
|
||||||
|
|
||||||
|
self.conn.ping(True)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
|
||||||
if self.connection['db_type']=='pymysql':
|
if self.connection['db_type']=='pymysql':
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue