Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
zainhoda committed Aug 4, 2023
1 parent 5443489 commit e8e428f
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 e8e428f

Please sign in to comment.