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

AIP-84 Migrate Modify Dag Run endpoint to FastAPI #42973

Merged
merged 24 commits into from
Oct 29, 2024

Conversation

rawwar
Copy link
Collaborator

@rawwar rawwar commented Oct 13, 2024

related to #42701

@boring-cyborg boring-cyborg bot added area:API Airflow's REST/HTTP API area:UI Related to UI/UX. For Frontend Developers. labels Oct 13, 2024
@rawwar rawwar marked this pull request as ready for review October 13, 2024 05:27
Copy link
Contributor

@jscheffl jscheffl left a comment

Choose a reason for hiding this comment

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

I can not answer the question but otherwise the PR looks good. Would leave the merge to @pierrejeambrun answer

@pierrejeambrun pierrejeambrun added the legacy api Whether legacy API changes should be allowed in PR label Oct 14, 2024
airflow/api_fastapi/routes/public/dag_run.py Outdated Show resolved Hide resolved
airflow/api_fastapi/routes/public/dag_run.py Outdated Show resolved Hide resolved
airflow/api_fastapi/serializers/dag_run.py Outdated Show resolved Hide resolved
airflow/api_fastapi/routes/public/dag_run.py Outdated Show resolved Hide resolved
@kaxil
Copy link
Member

kaxil commented Oct 16, 2024

You will have to rebase and fix conflicts as we change how fastapi_api folder is organized here: #43062

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. I would replace modify with Patch or Update everywhere to be consistent with the rest of the code.

@rawwar rawwar closed this Oct 29, 2024
@rawwar rawwar reopened this Oct 29, 2024
@rawwar rawwar closed this Oct 29, 2024
@rawwar rawwar reopened this Oct 29, 2024
@pierrejeambrun pierrejeambrun merged commit 3e4b344 into apache:main Oct 29, 2024
63 of 87 checks passed
ellisms pushed a commit to ellisms/airflow that referenced this pull request Nov 13, 2024
* add modify_dag_run

* add tests

* Update airflow/api_fastapi/views/public/dag_run.py

* fix

* Update airflow/api_fastapi/routes/public/dag_run.py

Co-authored-by: Pierre Jeambrun <[email protected]>

* Update airflow/api_fastapi/serializers/dag_run.py

Co-authored-by: Pierre Jeambrun <[email protected]>

* use dagbag

* replace patch with put

* refactor

* use put in tests

* modify to patch

* add update_mask

* refactor update to patch

---------

Co-authored-by: Pierre Jeambrun <[email protected]>
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.

5 participants