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 fastapi migration done marker #42198

Merged

Conversation

pierrejeambrun
Copy link
Member

@pierrejeambrun pierrejeambrun commented Sep 12, 2024

Follow up of: #42196

You can just review the last commit. This is short one that add a no-op decorator to be able to mark endpoint as migrated over to the new FastAPI API.

The goal with this is to keep track of what is left to migrate and what is already migrated. There are a lot of endpoints and this will prevent maintainers from searching over the code base to get that information. The advantage of a decorator over docstring or comment is that it's code. (searchable by references, consistent in style, etc...).

Kind ask to contributors and reviewers of PR related to AIP-84 please enforce the usage of this marker on PRs migrating endpoints :).

@pierrejeambrun pierrejeambrun added the AIP-84 Modern Rest API label Sep 12, 2024
@pierrejeambrun pierrejeambrun self-assigned this Sep 12, 2024
@boring-cyborg boring-cyborg bot added area:API Airflow's REST/HTTP API area:webserver Webserver related Issues labels Sep 12, 2024
@pierrejeambrun pierrejeambrun force-pushed the add-fastapi-migration-done-marker branch 3 times, most recently from 430d715 to 021881d Compare September 13, 2024 13:50
Copy link
Contributor

@bbovenzi bbovenzi left a comment

Choose a reason for hiding this comment

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

lgtm. but let's rebase

@pierrejeambrun pierrejeambrun force-pushed the add-fastapi-migration-done-marker branch from 021881d to 5095eb9 Compare September 16, 2024 07:50
@pierrejeambrun pierrejeambrun force-pushed the add-fastapi-migration-done-marker branch from 5095eb9 to c72ec3f Compare September 16, 2024 12:02
@pierrejeambrun pierrejeambrun merged commit e55b181 into apache:main Sep 16, 2024
51 checks passed
@pierrejeambrun pierrejeambrun deleted the add-fastapi-migration-done-marker branch September 16, 2024 12:48
gopidesupavan pushed a commit to gopidesupavan/airflow that referenced this pull request Sep 17, 2024
joaopamaral pushed a commit to joaopamaral/airflow that referenced this pull request Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AIP-84 Modern Rest API area:API Airflow's REST/HTTP API area:webserver Webserver related Issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants