-
Notifications
You must be signed in to change notification settings - Fork 16.3k
Display a more friendly error when invalid branches are provided to b… #54273
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
Conversation
|
cc: @amoghrajesh |
|
@amoghrajesh, I'm surprised the |
|
@jroachgolf84 it's failing the compat tests because in 2.11 It is going into models/skipmixin and raising the exception from there (original Unfortunately there isn't a way to fix in 2.x and it is not important enough to fix too, so I would suggest you validate it by version, like so: |
|
@amoghrajesh, thanks for the tip. The tests have been updated appropriately! |
amoghrajesh
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.
@jroachgolf84 I think we can make it more user friendly
providers/standard/src/airflow/providers/standard/utils/skipmixin.py
Outdated
Show resolved
Hide resolved
|
@amoghrajesh, mind taking a peek? |
Previously, an error message like the one below was output when an invalid Task ID/object containing Task ID's was returned by a
python_callableas part of aBrnachPythonOperator. This message was enhanced in this PR.Previous error message:
closes: #54224