File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
airflow/providers/slack/transfers Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ def _get_hook(self) -> DbApiHook:
129129 conn = BaseHook .get_connection (self .sql_conn_id )
130130 if version >= '2.3' :
131131 # "hook_params" were introduced to into "get_hook()" only in Airflow 2.3.
132- hook = conn .get_hook (hook_params = self .sql_hook_params ) # ignore 2.2 comp check
132+ hook = conn .get_hook (hook_params = self .sql_hook_params ) # ignore airflow compat check
133133 else :
134134 # For supporting Airflow versions < 2.3, we backport "get_hook()" method. This should be removed
135135 # when "apache-airflow-providers-slack" will depend on Airflow >= 2.3.
Original file line number Diff line number Diff line change 3232
3333errors : List [str ] = []
3434
35- SKIP_COMP_CHECK = "# ignore 2.2 comp check"
35+ SKIP_COMP_CHECK = "# ignore airflow compat check"
3636TRY_NUM_MATCHER = re .compile (r".*context.*\[[\"']try_number[\"']].*" )
3737GET_MANDATORY_MATCHER = re .compile (r".*conf\.get_mandatory_value" )
3838GET_AIRFLOW_APP_MATCHER = re .compile (r".*get_airflow_app\(\)" )
You can’t perform that action at this time.
0 commit comments