Skip to content

[v3-3-test] Fix the deadline_reference decorator's no-parentheses form (#70708) - #70966

Merged
vatsrahul1001 merged 1 commit into
v3-3-testfrom
backport-8541668-v3-3-test
Aug 4, 2026
Merged

[v3-3-test] Fix the deadline_reference decorator's no-parentheses form (#70708)#70966
vatsrahul1001 merged 1 commit into
v3-3-testfrom
backport-8541668-v3-3-test

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor
  • Fix the deadline_reference decorator's no-parenthesis form

Used bare, the decorator silently rebound the decorated class to the inner decorator function and skipped registration entirely, surfacing later as an unrelated TypeError with an unhelpful message. Accept both forms, add clearer error messaging when a reference cannot be instantiated, and clarify the related docs.

  • bugfix newsfragment

  • sphynx riddles
    (cherry picked from commit 8541668)

Co-authored-by: D. Ferruzzi ferruzzi@amazon.com

#70708)

* Fix the deadline_reference decorator's no-parenthesis form

Used bare, the decorator silently rebound the decorated class to the inner decorator function and skipped registration entirely, surfacing later as an unrelated TypeError with an unhelpful message.  Accept both forms, add clearer error messaging when a reference cannot be instantiated, and clarify the related docs.

* bugfix newsfragment

* sphynx riddles
(cherry picked from commit 8541668)

Co-authored-by: D. Ferruzzi <ferruzzi@amazon.com>
@boring-cyborg boring-cyborg Bot added area:deadline-alerts AIP-86 (former AIP-57) area:task-sdk labels Aug 3, 2026
@vatsrahul1001
vatsrahul1001 marked this pull request as ready for review August 3, 2026 08:43
@vatsrahul1001 vatsrahul1001 added this to the Airflow 3.3.1 milestone Aug 4, 2026
@vatsrahul1001 vatsrahul1001 added the type:bug-fix Changelog: Bug Fixes label Aug 4, 2026
@vatsrahul1001
vatsrahul1001 merged commit 15509f9 into v3-3-test Aug 4, 2026
166 of 194 checks passed
@vatsrahul1001
vatsrahul1001 deleted the backport-8541668-v3-3-test branch August 4, 2026 05:38
vatsrahul1001 pushed a commit that referenced this pull request Aug 5, 2026
#70708) (#70966)

* Fix the deadline_reference decorator's no-parenthesis form

Used bare, the decorator silently rebound the decorated class to the inner decorator function and skipped registration entirely, surfacing later as an unrelated TypeError with an unhelpful message.  Accept both forms, add clearer error messaging when a reference cannot be instantiated, and clarify the related docs.

* bugfix newsfragment

* sphynx riddles
(cherry picked from commit 8541668)

Co-authored-by: D. Ferruzzi <ferruzzi@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants