Skip to content
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

Refactor unneeded 'continue' jumps around the repo #33849

Merged
merged 1 commit into from
Sep 4, 2023

Conversation

eumiro
Copy link
Contributor

@eumiro eumiro commented Aug 28, 2023

No description provided.

Comment on lines 825 to 828
pass
else:
if v == default:
del serialized_partial[k]
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this really any better/more clear?

Copy link
Member

Choose a reason for hiding this comment

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

Same question.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It keeps the v variable in the successful try/else line. But I'll revert it here.

Copy link
Contributor

@o-nikolas o-nikolas left a comment

Choose a reason for hiding this comment

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

These types of PRs are always tricky to brain compile perfectly. But I don't spot any behaviour changes and the tests are passing. So LGTM 👍

@potiuk potiuk merged commit 668aace into apache:main Sep 4, 2023
42 checks passed
@eumiro eumiro deleted the continue-misc branch September 5, 2023 17:26
@ephraimbuddy ephraimbuddy added this to the Airflow 2.7.2 milestone Oct 3, 2023
@ephraimbuddy ephraimbuddy added the type:misc/internal Changelog: Misc changes that should appear in change log label Oct 3, 2023
ephraimbuddy pushed a commit that referenced this pull request Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:plugins area:Scheduler Scheduler or dag parsing Issues area:serialization type:misc/internal Changelog: Misc changes that should appear in change log
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants