Skip to content

Commit

Permalink
Merge pull request #84 from vanna-ai/train-documentation-bugfix
Browse files Browse the repository at this point in the history
train documentation bugfix
  • Loading branch information
zainhoda authored Aug 4, 2023
2 parents 5443489 + e8e428f commit 5fe27b6
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 @@ -815,7 +815,7 @@ def train(question: str = None, sql: str = None, ddl: str = None, documentation:

if documentation:
print("Adding documentation....")
return add_documentation(sql)
return add_documentation(documentation)

if sql:
if question is None:
Expand Down

0 comments on commit 5fe27b6

Please sign in to comment.