Skip to content

Move return statement so that the rest of the function is reachable #51701

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

nailo2c
Copy link
Contributor

@nailo2c nailo2c commented Jun 13, 2025

Hi folks,

When I was studying issue #51320, I found there is an indentation issue that causes the code after the first return False to never be reached.

Hence, I'm submitting this PR. If this was intentional, please let me know.

@nailo2c nailo2c requested a review from uranusjr as a code owner June 13, 2025 16:55
Copy link
Member

@uranusjr uranusjr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch

@uranusjr uranusjr added the backport-to-v3-0-test Mark PR with this label to backport to v3-0-test branch label Jun 17, 2025
@uranusjr uranusjr requested a review from dstandish June 17, 2025 06:29
@uranusjr uranusjr added this to the Airflow 3.0.3 milestone Jun 17, 2025
@nailo2c
Copy link
Contributor Author

nailo2c commented Jun 26, 2025

Hi @uranusjr, thanks again for the review! Would you mind helping merge this PR when you get a chance? 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-to-v3-0-test Mark PR with this label to backport to v3-0-test branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants