This is an automated email from the ASF dual-hosted git repository.
shahar1 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new ba6750c2fd0 Remove unused Cloud SQL OS bitness helper (#75788)
ba6750c2fd0 is described below
commit ba6750c2fd0e503afd19d172a91e0a935deb1118
Author: Hussein Awala <[email protected]>
AuthorDate: Tue Oct 27 21:56:24 2026 +0100
Remove unused Cloud SQL OS bitness helper (#75788)
The proxy URL builder already selects architectures directly from
os.uname().machine.
---
.../google/src/airflow/providers/google/cloud/hooks/cloud_sql.py | 4 ----
1 file changed, 4 deletions(-)
diff --git
a/providers/google/src/airflow/providers/google/cloud/hooks/cloud_sql.py
b/providers/google/src/airflow/providers/google/cloud/hooks/cloud_sql.py
index 4030bd9b63e..80ef340027a 100644
--- a/providers/google/src/airflow/providers/google/cloud/hooks/cloud_sql.py
+++ b/providers/google/src/airflow/providers/google/cloud/hooks/cloud_sql.py
@@ -635,10 +635,6 @@ class CloudSqlProxyRunner(LoggingMixin):
if self.sql_proxy_enable_iam_login:
self.command_line_parameters.append("-enable_iam_login")
- @staticmethod
- def _is_os_64bit() -> bool:
- return platform.machine().endswith("64")
-
def _download_sql_proxy_if_needed(self) -> None:
if os.path.isfile(self.sql_proxy_path):
self.log.info("cloud-sql-proxy is already present")