Skip to content

Conversation

@amoghrajesh
Copy link
Contributor

@amoghrajesh amoghrajesh commented Nov 8, 2024

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:

Same setup as #43783

API responses:

Legacy:
image

FastAPI:
image

Swagger Spec:
image

image


^ 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.

@boring-cyborg boring-cyborg bot added area:API Airflow's REST/HTTP API area:UI Related to UI/UX. For Frontend Developers. labels Nov 8, 2024
Copy link
Contributor Author

@amoghrajesh amoghrajesh left a 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

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.

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.

@rawwar rawwar added the legacy api Whether legacy API changes should be allowed in PR label Nov 9, 2024
@amoghrajesh
Copy link
Contributor Author

@pierrejeambrun the PR has been rebased now. Only has the relevant changes

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.

Thanks

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.

One more nit on the tests and we can merge

@amoghrajesh
Copy link
Contributor Author

Thanks for the review @pierrejeambrun! Handled the review comment for tests. Merging it

@amoghrajesh amoghrajesh merged commit c84d356 into apache:main Nov 14, 2024
@amoghrajesh amoghrajesh deleted the AIP84-get-one-asset-to-fastapi branch November 14, 2024 04:05
amoghrajesh added a commit to astronomer/airflow that referenced this pull request Nov 14, 2024
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. legacy api Whether legacy API changes should be allowed in PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants