Skip to content

Conversation

@jscheffl
Copy link
Contributor

Backport of #42532

closes: #42273

* Improving validation of task retries to handle None values

* Updated the validation check to use the "or" logical operator

Co-authored-by: Jens Scheffler <95105677+jscheffl@users.noreply.github.com>

* Added a comment for the new validation check

* Update baseoperator.py

* Update taskinstance.py

---------

Co-authored-by: Jens Scheffler <95105677+jscheffl@users.noreply.github.com>
(cherry picked from commit 1114ab2)
@jscheffl jscheffl added type:bug-fix Changelog: Bug Fixes area:core labels Oct 10, 2024
@jscheffl jscheffl added this to the Airflow 2.10.3 milestone Oct 10, 2024
@jscheffl jscheffl requested a review from uranusjr as a code owner October 10, 2024 19:27
@jscheffl jscheffl requested a review from ferruzzi October 10, 2024 19:27
@jscheffl jscheffl merged commit d3595a2 into v2-10-test Oct 10, 2024
utkarsharma2 pushed a commit that referenced this pull request Oct 23, 2024
…42915)

* Improving validation of task retries to handle None values

* Updated the validation check to use the "or" logical operator

Co-authored-by: Jens Scheffler <95105677+jscheffl@users.noreply.github.com>

* Added a comment for the new validation check

* Update baseoperator.py

* Update taskinstance.py

---------

Co-authored-by: Jens Scheffler <95105677+jscheffl@users.noreply.github.com>
(cherry picked from commit 1114ab2)

Co-authored-by: sonu4578 <veetech4455@gmail.com>
utkarsharma2 pushed a commit that referenced this pull request Oct 24, 2024
…42915)

* Improving validation of task retries to handle None values

* Updated the validation check to use the "or" logical operator

Co-authored-by: Jens Scheffler <95105677+jscheffl@users.noreply.github.com>

* Added a comment for the new validation check

* Update baseoperator.py

* Update taskinstance.py

---------

Co-authored-by: Jens Scheffler <95105677+jscheffl@users.noreply.github.com>
(cherry picked from commit 1114ab2)

Co-authored-by: sonu4578 <veetech4455@gmail.com>
@potiuk potiuk deleted the validation-of-none-retries-setting-v2-backport branch January 11, 2025 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:core type:bug-fix Changelog: Bug Fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants