ashb commented on a change in pull request #15781:
URL: https://github.com/apache/airflow/pull/15781#discussion_r632416506
##########
File path: airflow/providers/google/cloud/hooks/cloud_sql.py
##########
@@ -500,7 +500,7 @@ def _download_sql_proxy_if_needed(self) -> None:
)
proxy_path_tmp = self.sql_proxy_path + ".tmp"
self.log.info("Downloading cloud_sql_proxy from %s to %s",
download_url, proxy_path_tmp)
- response = requests.get(download_url, allow_redirects=True)
+ response = httpx.get(download_url, allow_redirects=True)
Review comment:
Oh yeah. And yeah, explicit is probably better than implicit.
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]