|
@@ -501,6 +501,7 @@ class SQLHandler:
|
|
|
:rtype: DataFrame
|
|
|
'''
|
|
|
try:
|
|
|
+ '''
|
|
|
connection = self._engine.connect()
|
|
|
|
|
|
data = pd.read_sql(sql=query,
|
|
@@ -508,6 +509,10 @@ class SQLHandler:
|
|
|
**read_sql_kwargs)
|
|
|
|
|
|
connection.close()
|
|
|
+ '''
|
|
|
+ data = pd.read_sql(sql=query,
|
|
|
+ con=self.engine,
|
|
|
+ **read_sql_kwargs)
|
|
|
return data
|
|
|
|
|
|
except Exception as e:
|