Skip to content

Commit 9cf3709

Browse files
committed
bugfix
1 parent 4196544 commit 9cf3709

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: defog/query.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ async def async_execute_query_once(db_type: str, db_creds, query: str):
206206
import aiomysql
207207
except:
208208
raise Exception("aiomysql not installed.")
209-
db_creds = self.db_creds.copy()
209+
db_creds = db_creds.copy()
210210
db_creds["db"] = db_creds["database"]
211211
del db_creds["database"]
212212
conn = await aiomysql.connect(**db_creds)

0 commit comments

Comments
 (0)