HyunWooZZ commented on code in PR #60689:
URL: https://github.com/apache/airflow/pull/60689#discussion_r2700975176


##########
providers/snowflake/src/airflow/providers/snowflake/hooks/snowflake_sql_api.py:
##########
@@ -472,9 +477,10 @@ def _make_api_call_with_retries(
             for attempt in Retrying(**self.retry_config):  # type: ignore
                 with attempt:
                     if method.upper() in ("GET", "POST"):
-                        response = session.request(
-                            method=method.lower(), url=url, headers=headers, 
params=params, json=json
-                        )
+                        request_kwargs = dict(method=method.lower(), url=url, 
headers=headers, params=params, json=json)

Review Comment:
   I'll make this change with the below review is complete.
   https://github.com/apache/airflow/pull/60689/files#r2700868724
   ```python
   request_kwargs: dict[str, Any] = {
       "method": method.lower(),
       "url": url,
       "headers": headers,
       "params": params,
       "json": json,
   }
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to