You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by di...@apache.org on 2023/04/04 11:05:59 UTC

[superset] branch feat/sqllab-natural-language updated: Add new line

This is an automated email from the ASF dual-hosted git repository.

diegopucci pushed a commit to branch feat/sqllab-natural-language
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/feat/sqllab-natural-language by this push:
     new 3793b9f68f Add new line
3793b9f68f is described below

commit 3793b9f68f6103162c3cfeb6e92e079b42086e0e
Author: geido <di...@gmail.com>
AuthorDate: Tue Apr 4 13:05:43 2023 +0200

    Add new line
---
 superset/views/datasource/views.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset/views/datasource/views.py b/superset/views/datasource/views.py
index 40b6f33e1e..9acf845ad1 100644
--- a/superset/views/datasource/views.py
+++ b/superset/views/datasource/views.py
@@ -152,7 +152,7 @@ class Datasource(BaseSupersetView):
         to_vectors += stringified_columns
 
         to_vectors += f"EXAMPLE:\n"
-        to_vectors += f"{datasource_sel_star}"
+        to_vectors += f"{datasource_sel_star}\n"
 
         openai.api_key = app.config["OPENAI_API_KEY"]
         pinecone.init(