Skip to content

Commit

Permalink
Merge pull request #133 from Hassan-Elseoudy/main
Browse files Browse the repository at this point in the history
MISC should be using `question` instead of `Question` to display the correct message.
  • Loading branch information
zainhoda authored Nov 20, 2023
2 parents 219e284 + ac4eea4 commit 0b6e8f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vanna/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1065,7 +1065,7 @@ def train(
if sql:
if question is None:
question = generate_question(sql)
print("Question generated with sql:", Question, "\nAdding SQL...")
print("Question generated with sql:", question, "\nAdding SQL...")
return add_sql(question=question, sql=sql)

if ddl:
Expand Down

0 comments on commit 0b6e8f2

Please sign in to comment.