Skip to content

Commit

Permalink
make it non configurable simply
Browse files Browse the repository at this point in the history
  • Loading branch information
sungchun12 committed Dec 10, 2024
1 parent 97531b1 commit 919c498
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions sqlmesh/core/config/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,7 @@ class SnowflakeConnectionConfig(ConnectionConfig):
role: t.Optional[str] = None
authenticator: t.Optional[str] = None
token: t.Optional[str] = None
application: t.ClassVar[str] = "Tobiko_SQLMesh"

# Private Key Auth
private_key: t.Optional[t.Union[str, bytes]] = None
Expand Down Expand Up @@ -549,10 +550,6 @@ def _engine_adapter(self) -> t.Type[EngineAdapter]:
def _static_connection_kwargs(self) -> t.Dict[str, t.Any]:
return {"autocommit": False}

@property
def application(self) -> str:
return "Tobiko_SQLMesh"

@property
def _connection_factory(self) -> t.Callable:
from snowflake import connector
Expand Down

0 comments on commit 919c498

Please sign in to comment.