-
Notifications
You must be signed in to change notification settings - Fork 16.3k
fix(api_fastapi): adjust model validator signature of TriggerDAGRunPo… #56026
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(api_fastapi): adjust model validator signature of TriggerDAGRunPo… #56026
Conversation
pierrejeambrun
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for catching this.
LGTM.
CI need fixing.
That looks unrelated, let me rebase your branch and start again the CI |
8126d10 to
3333306
Compare
jason810496
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fix!
Just rebased again to fix the CI error.
3333306 to
16684f5
Compare
|
Thanks for the PR! |
…stBody (apache#56025) (apache#56026) Co-authored-by: Daniel Gellert <dab.dada@gmail.com>
…stBody (apache#56025) (apache#56026) Co-authored-by: Daniel Gellert <dab.dada@gmail.com>
…stBody (apache#56025) (apache#56026) Co-authored-by: Daniel Gellert <dab.dada@gmail.com>
…stBody (apache#56025) (apache#56026) Co-authored-by: Daniel Gellert <dab.dada@gmail.com>
…stBody (apache#56025) (apache#56026) Co-authored-by: Daniel Gellert <dab.dada@gmail.com>
…stBody (apache#56025) (apache#56026) Co-authored-by: Daniel Gellert <dab.dada@gmail.com>
…stBody (apache#56025) (apache#56026) Co-authored-by: Daniel Gellert <dab.dada@gmail.com>
…stBody (apache#56025) (apache#56026) Co-authored-by: Daniel Gellert <dab.dada@gmail.com>
…stBody (apache#56025) (apache#56026) Co-authored-by: Daniel Gellert <dab.dada@gmail.com>
…stBody (apache#56025) (apache#56026) Co-authored-by: Daniel Gellert <dab.dada@gmail.com>
…stBody (apache#56025) (apache#56026) Co-authored-by: Daniel Gellert <dab.dada@gmail.com>
…stBody (apache#56025) (apache#56026) Co-authored-by: Daniel Gellert <dab.dada@gmail.com>
…stBody (apache#56025) (apache#56026) Co-authored-by: Daniel Gellert <dab.dada@gmail.com>
…stBody (apache#56025) (apache#56026) Co-authored-by: Daniel Gellert <dab.dada@gmail.com>
…stBody (apache#56025) (apache#56026) Co-authored-by: Daniel Gellert <dab.dada@gmail.com>
…stBody (apache#56025) (apache#56026) Co-authored-by: Daniel Gellert <dab.dada@gmail.com>
…stBody (apache#56025) (apache#56026) Co-authored-by: Daniel Gellert <dab.dada@gmail.com>
|
Is this coming into the 3.0.x line? because without this then manual DAG triggering in 3.0.x is effectively broken correct? |
|
@fredthomsen IMO it is broken yes, and I think it will be part of 3.1.1 |
|
Yes. We generally practically never fix things in past branch if new release is already out. You should simply upgrade to latest version of airflow released when it is released to fix any bugs. That's our policy. The only exception is 2.11 that will get security and critical fixes unti April 2026 (also our policy). |
closes: #56025
The model validator signature of TriggerDAGRunPostBody was defined to match a before validator, it is using a after validator though. This validator type should expect the instaniated model itself not the class and a values dict.