Skip to content

Migrate public endpoint Patch Task Instance to FastAPI#44223

Merged
pierrejeambrun merged 3 commits intoapache:mainfrom
omkar-foss:aip-84/tis/patch-ti
Nov 26, 2024
Merged

Migrate public endpoint Patch Task Instance to FastAPI#44223
pierrejeambrun merged 3 commits intoapache:mainfrom
omkar-foss:aip-84/tis/patch-ti

Conversation

@omkar-foss
Copy link
Collaborator

@omkar-foss omkar-foss commented Nov 20, 2024

closes: #43753, #43754 and #43752
related: #42370

This migrates the Patch Task Instance API from api_connexion to api_fastapi.

@boring-cyborg boring-cyborg bot added area:API Airflow's REST/HTTP API area:UI Related to UI/UX. For Frontend Developers. labels Nov 20, 2024
@omkar-foss omkar-foss self-assigned this Nov 20, 2024
@omkar-foss omkar-foss added the legacy api Whether legacy API changes should be allowed in PR label Nov 20, 2024
@omkar-foss omkar-foss closed this Nov 20, 2024
@omkar-foss omkar-foss reopened this Nov 20, 2024
@omkar-foss omkar-foss marked this pull request as ready for review November 20, 2024 19:50
@omkar-foss
Copy link
Collaborator Author

All checks passed, PR is ready for review ✅

@omkar-foss
Copy link
Collaborator Author

@pierrejeambrun I'm adding the Set Task Instance Note functionality to this (Patch Task Instance) API as you mentioned here. Will update this PR in a while.

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.

I think we need to include the update_mask as we do for other patch endpoints. (The state part would actually be the set_task_instance_state of your other PR)

@omkar-foss
Copy link
Collaborator Author

I think we need to include the update_mask as we do for other patch endpoints. (The state part would actually be the set_task_instance_state of your other PR)

@pierrejeambrun I've added update_mask here in this PR to Patch Task Instance API.

Yes got it, sure, I've closed the other Set Task Instance State PR #44246.

@omkar-foss omkar-foss force-pushed the aip-84/tis/patch-ti branch 3 times, most recently from a1a6f18 to fcb6ea5 Compare November 22, 2024 14:43
@omkar-foss
Copy link
Collaborator Author

All conversations resolved, PR rebased with main and all conflicts resolved, please have a look when possible @pierrejeambrun @bbovenzi. Thanks.

@omkar-foss omkar-foss force-pushed the aip-84/tis/patch-ti branch 2 times, most recently from 40d4fad to fc0fdff Compare November 25, 2024 16:46
@omkar-foss
Copy link
Collaborator Author

@pierrejeambrun all checks passing, and have rebased with main just now. Please review when you get a chance, 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.

Just a couple of comments.

Looking good, ready to merge after that.

@omkar-foss
Copy link
Collaborator Author

@pierrejeambrun PR rebased with main and ready to merge. Thank you.

@pierrejeambrun pierrejeambrun merged commit a832c41 into apache:main Nov 26, 2024
got686-yandex pushed a commit to got686-yandex/airflow that referenced this pull request Jan 30, 2025
* Migrate public endpoint Patch Task Instance to FastAPI

* Re-run static checks

* Replace remaining hardcoded new state
@omkar-foss omkar-foss deleted the aip-84/tis/patch-ti branch April 1, 2025 06:20
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.

AIP-84 Patch Task Instance

3 participants