From 41e3205c0fa882626c7ae632db5e70d86bad7721 Mon Sep 17 00:00:00 2001 From: Mila Page <67295367+VersusFacit@users.noreply.github.com> Date: Wed, 18 Dec 2024 13:03:14 -0800 Subject: [PATCH] Add new params to quiet mypy, a type ignore doesn't work. (#1278) Co-authored-by: VersusFacit --- dbt/adapters/snowflake/connections.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dbt/adapters/snowflake/connections.py b/dbt/adapters/snowflake/connections.py index fcd16aafc..9685b35e3 100644 --- a/dbt/adapters/snowflake/connections.py +++ b/dbt/adapters/snowflake/connections.py @@ -487,6 +487,8 @@ def add_query( auto_begin: bool = True, bindings: Optional[Any] = None, abridge_sql_log: bool = False, + retryable_exceptions: tuple[type[Exception], ...] = tuple(), + retry_limit: int = 0, ) -> Tuple[Connection, Any]: # type: ignore if bindings: # The snowflake connector is stricter than, e.g., psycopg2 -