-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
Add map_index parameter to extra links API #46107
Add map_index parameter to extra links API #46107
Conversation
Thanks for this! |
Sure, also we have to add tests regarding this. This PR don't do that. |
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.
Feel free to open another PR directly against v2-10-test
test branch.
Sure, also we have to add tests regarding this. This PR don't do that.
Yes ideally we want a small test before merging. Nothing to complicated but just to ensure things are working as expected.
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.
Yeah some test would be great, else LGTM!
And I second that a PR against v2-10-test as back-port (logical) to 2.10 would be good. But a direct backport with automation is not possible as it would need to be added against the old Connexion framework...
@jscheffl @pierrejeambrun Yes, I will be adding tests soon. |
@shubhamraj-git Any reason to close this PR without merge? |
This is just to prevent accidental merge till the tests are added, I will reopen in a while. |
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.
Temporary request changes to avoid accidental merge
557b03a
to
2ab6cda
Compare
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.
Task SDK does not support extra links
yet.
You can mark the test as xfail
and add a comment:
# TODO: TaskSDK need to fix this
# Extra links should work for mapped operator
cc: @ashb |
Do we still backport this fix? Or wait for Task SDK to support |
#43757 is a bug on 2.10 so we can raise PR to fix the issue directly on 2.10 test branch. This is not related to task SDK (in terms of we can fix it today on 2.10 and have a seperated fix for airflow 3 on main branch later on) |
If no further comments I'm happy to merge |
I think we can merge this, the fix needed on the task SDK can be taken later on. |
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.
LGTM. I can rebase the changes after merge for UI in #46074 . Thanks @shubhamraj-git
* add map_index * Add tests for extra links with mapped task * Mark Xfail the test_should_respond_200_mapped_task_instance
* add map_index * Add tests for extra links with mapped task * Mark Xfail the test_should_respond_200_mapped_task_instance
related: #45614 (This PR is for 3.0)
Try here after building: http://localhost:29091/docs#/Extra%20Links/get_extra_links
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named
{pr_number}.significant.rst
or{issue_number}.significant.rst
, in newsfragments.