From 919c498e59131d7f46d78c8766e299fbc56065fb Mon Sep 17 00:00:00 2001 From: Sung Won Chung Date: Mon, 9 Dec 2024 16:40:52 -0800 Subject: [PATCH] make it non configurable simply --- sqlmesh/core/config/connection.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sqlmesh/core/config/connection.py b/sqlmesh/core/config/connection.py index b444db55a..26eb4b8fa 100644 --- a/sqlmesh/core/config/connection.py +++ b/sqlmesh/core/config/connection.py @@ -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 @@ -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