Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
rishsriv committed May 30, 2024
1 parent 17314c7 commit 9ed334d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion utils/dialects.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ async def amend_invalid_sql(
"""
Use LLM to correct a list of invalid SQL queries given a common question, specific error message and the database schema
"""
openai = AsyncOpenAI(api_key=os.environ.get("OPENAI_API_KEY", "ADD_YOUR_OPENAI_KEY_HERE"))
openai = AsyncOpenAI(
api_key=os.environ.get("OPENAI_API_KEY", "ADD_YOUR_OPENAI_KEY_HERE")
)
completion_dict_list = []
for i in range(len(sql_list)):
sql = sql_list[i]
Expand Down

0 comments on commit 9ed334d

Please sign in to comment.