-
Notifications
You must be signed in to change notification settings - Fork 14.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix setting of project ID in provide_authorized_gcloud #20428
Conversation
Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contribution Guide (https://github.com/apache/airflow/blob/main/CONTRIBUTING.rst)
|
The PR is likely OK to be merged with just subset of tests for default Python and Database versions without running the full matrix of tests, because it does not modify the core of Airflow. If the committers decide that the full tests matrix is needed, they will add the label 'full tests needed'. Then you should rebase to the latest main or amend the last commit of the PR, and push it with --force-with-lease. |
Would it be possible to add a unit test covering this case @jobegrabber ? Woudl be great to avoid regressions in the future |
I'll try and see if I can set one up, I haven't contributed anything yet so I'll need to check out the dev setup first 🙂 |
Some tests use has_calls instead of assert_has_calls, but don't assert on the returned value..
@potiuk I didn't have to add new tests, some of the existing ones are broken, among them the one that checks authentication with Google ADC. For some reason, There are a couple of other places where
I don't think I have the time to fix all these in a short time frame, I haven't looked at these parts at all.. |
Actually, |
This partially reverts commit 6941e5f.
UPS!
AH COOL. We should fix them.
No worries, I will create an issue for that and we will fix it. Also might make sense to ban using "has_calls" in our tests in this case! |
cc @deedmitrij |
Thanks! I don't think there is anything else to do on this specific PR, is there? |
Awesome work, congrats on your first merged pull request! |
Thanks for the PR, well done 👏 |
fixes: #20426 and change in logic introduced (seemingly accidentally) in 2fadf3c