-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
AIP-84 Migrating GET ASSETS Legacy API to fastAPI #43783
AIP-84 Migrating GET ASSETS Legacy API to fastAPI #43783
Conversation
Co-authored-by: Jed Cunningham <66968678+jedcunningham@users.noreply.github.com>
Okay seems like the dag_ids filter doesn't work yet. FIxing it |
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.
Looking good overall, thanks.
Need rebasing to solve conflicts, small nitpicks.
With the latest commits, most of the things should be taken care of. |
Thanks, don't hesitate to resolve conversation that you have adressed. I'm out of office until tuesday. (Bank holiday in france) |
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.
Looks good to me
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.
Looks good thanks ! 🎉
* AIP-84: Migrating GET Assets to fastAPI * matching response to legacy * Adding unit tests - part 1 * Update airflow/api_fastapi/common/parameters.py Co-authored-by: Jed Cunningham <66968678+jedcunningham@users.noreply.github.com> * fixing the dag_ids filter * fixing the dag_ids filter * Adding unit tests - part 2 * fixing unit tests & updating parameter type * review comments pierre * fixing last commit * fixing unit tests --------- Co-authored-by: Jed Cunningham <66968678+jedcunningham@users.noreply.github.com>
related: #42370
Migrating the connexion API for GET ASSETS to fastAPI.
Testing performed:
Created 2 pairs of DAGS each linking to different assets
API responses using legacy and fastAPI endpoints (one example with all params used)
Legacy API:
Fast API:
Swagger Spec:
^ 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.