Skip to content

Commit

Permalink
Merge pull request #208 from danielcorin/dc/return-results
Browse files Browse the repository at this point in the history
Return sql and dataframe if call is successful
  • Loading branch information
zainhoda authored Jan 31, 2024
2 parents aa432ab + ef02500 commit 8c5e05a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/vanna/base/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -607,6 +607,7 @@ def ask(
return None
else:
return sql, None, None
return sql, df, None

def train(
self,
Expand Down

0 comments on commit 8c5e05a

Please sign in to comment.