-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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: Migrate GET one ASSET legacy API to fast API #43825
AIP 84: Migrate GET one ASSET legacy API to fast API #43825
Conversation
Co-authored-by: Jed Cunningham <[email protected]>
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.
@pierrejeambrun a note for you
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.
A few common comments from the previous PR that this work is based off.
Otherwise looks good, I'll do a final in depth review once the previous PR is merged.
@pierrejeambrun the PR has been rebased now. Only has the relevant changes |
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
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.
One more nit on the tests and we can merge
Thanks for the review @pierrejeambrun! Handled the review comment for tests. Merging it |
NOTE TO REVIEWERS
Only last 2 commits are relevant
Depends on #43783
related: #42370
Migrating the connexion API for GET one ASSETS to fastAPI.
Testing performed:
API responses:
Legacy:
FastAPI:
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.