From ac4eea441fc7383385873d58a04fa14969152187 Mon Sep 17 00:00:00 2001 From: Hassan Elseoudy Date: Tue, 14 Nov 2023 15:49:10 +0100 Subject: [PATCH] MISC should be using `question` instead of `Question` to display the correct message. --- src/vanna/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vanna/__init__.py b/src/vanna/__init__.py index 5feacceb..da063754 100644 --- a/src/vanna/__init__.py +++ b/src/vanna/__init__.py @@ -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: