yehoshuadimarsky commented on pull request #20775: URL: https://github.com/apache/airflow/pull/20775#issuecomment-1008348390
See this link for details about IAM login with Google SQL Cloud Auth proxy: https://cloud.google.com/sql/docs/postgres/iam-logins#cloud-sql-auth-proxy But I can't figure out how to test this kind of login within old-style `unittest` patching - any suggestions? Relevant parts of existing test code: https://github.com/apache/airflow/blob/68fa358c85d0ebe1aa22ace30b33867ad4e622a8/tests/providers/google/cloud/hooks/test_cloud_sql.py#L989-L1038 and https://github.com/apache/airflow/blob/68fa358c85d0ebe1aa22ace30b33867ad4e622a8/tests/providers/google/cloud/hooks/test_cloud_sql.py#L1122-L1135 -- 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]
