Skip to content

Commit

Permalink
[Scalabrese] Added client_session_keep_alive = True to Snowflake
Browse files Browse the repository at this point in the history
  • Loading branch information
simoncalabrese committed Apr 13, 2024
1 parent 9a0adde commit f4a6f42
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/vanna/base/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
import plotly.express as px
import plotly.graph_objects as go
import requests
from snowflake.connector.connection import SnowflakeConnection

from ..exceptions import DependencyError, ImproperlyConfigured, ValidationError
from ..types import TrainingPlan, TrainingPlanItem
Expand Down Expand Up @@ -650,7 +649,7 @@ def connect_to_snowflake(
else:
raise ImproperlyConfigured("Please set your Snowflake database.")

conn:SnowflakeConnection = snowflake.connector.connect(
conn = snowflake.connector.connect(
user=username,
password=password,
account=account,
Expand Down

0 comments on commit f4a6f42

Please sign in to comment.