Skip to content

Commit

Permalink
SnowflakeSqlApiOperator snowflake_conn_id add to template_fields (apa…
Browse files Browse the repository at this point in the history
  • Loading branch information
bbossy authored and niklasr22 committed Feb 8, 2025
1 parent ceb3788 commit 52cba7d
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,11 @@ class SnowflakeSqlApiOperator(SQLExecuteQueryOperator):
LIFETIME = timedelta(minutes=59) # The tokens will have a 59 minutes lifetime
RENEWAL_DELTA = timedelta(minutes=54) # Tokens will be renewed after 54 minutes

template_fields: Sequence[str] = tuple(
set(SQLExecuteQueryOperator.template_fields) | {"snowflake_conn_id"}
)
conn_id_field = "snowflake_conn_id"

def __init__(
self,
*,
Expand Down

0 comments on commit 52cba7d

Please sign in to comment.