Skip to content
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 dag_run_ids and task_ids filter for the batch task instance API endpoint #32705

Merged

Conversation

karakanb
Copy link
Contributor

This PR introduces two new filters for the batch task instance endpoint:

  • dag_run_ids: a set of DAG Run IDs to filter the instances that were in those runs
  • task_ids: a set of task IDs that the instances were for

Let me know if you have any feedback.

@boring-cyborg boring-cyborg bot added area:API Airflow's REST/HTTP API area:UI Related to UI/UX. For Frontend Developers. area:webserver Webserver related Issues labels Jul 19, 2023
@karakanb karakanb force-pushed the introduce-dagrun-and-task-id-filters-batch-api branch 2 times, most recently from 15d8f64 to 59d0c1e Compare July 21, 2023 17:35
@uranusjr
Copy link
Member

Can you add “New in version” markers to the parameters in the OpenAPI spec please? There are various examples if you search in the file.

@karakanb karakanb force-pushed the introduce-dagrun-and-task-id-filters-batch-api branch 4 times, most recently from 64fb437 to 384e360 Compare July 24, 2023 14:17
@karakanb
Copy link
Contributor Author

@uranusjr done, assumed it'd go in 2.6.4, please take a look.

@karakanb karakanb force-pushed the introduce-dagrun-and-task-id-filters-batch-api branch from 384e360 to 1074524 Compare August 1, 2023 15:33
@eladkal eladkal added this to the Airflow 2.7.0 milestone Aug 1, 2023
@karakanb
Copy link
Contributor Author

karakanb commented Aug 3, 2023

not sure if maintainers can do that right away but please feel free to modify any files here before you merge as you see fit, e.g. fixing the version. if you let me know what'd be the right version number I can also do that.

@potiuk
Copy link
Member

potiuk commented Aug 3, 2023

I think will hold-off with those merges for a short while due to cutting out 2.7.0 release, but I think @pierrejeambrun looked at the open-api changes recently :)

Copy link
Member

@pierrejeambrun pierrejeambrun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good to me and working as expected. As mentioned 2.7.0 is already being cut out and this will most probably go into 2.7.1 can you please update the New in version xxxx part, and we should be good to go :)

edit: I just updated it.

Approved

@pierrejeambrun pierrejeambrun force-pushed the introduce-dagrun-and-task-id-filters-batch-api branch from 56f1e74 to 78c5de0 Compare August 6, 2023 09:08
@potiuk potiuk merged commit 08b1e8d into apache:main Aug 7, 2023
42 checks passed
ephraimbuddy pushed a commit that referenced this pull request Aug 8, 2023
…ndpoint (#32705)

* add dag_run_ids and task_ids as filter types for the batch task instance endpoint

* add version notice to the new filters

* Update the released version in OpenAPI spec

---------

Co-authored-by: pierrejeambrun <pierrejbrun@gmail.com>
(cherry picked from commit 08b1e8d)
@ephraimbuddy ephraimbuddy added the type:improvement Changelog: Improvements label Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:API Airflow's REST/HTTP API area:UI Related to UI/UX. For Frontend Developers. area:webserver Webserver related Issues type:improvement Changelog: Improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants