Skip to content

Conversation

@shubhamraj-git
Copy link
Contributor

We should not let the Pool name update. We should follow the similar behaviour as we do it for variables, connections.


^ 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 the area:API Airflow's REST/HTTP API label Feb 22, 2025
Copy link
Member

@jason810496 jason810496 left a comment

Choose a reason for hiding this comment

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

Should we add a test case for the Invalid body, pool name from request body doesn't match uri parameter bad request scenario?

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, just a few nits.

@pierrejeambrun pierrejeambrun merged commit 99c9e48 into apache:main Feb 25, 2025
45 checks passed
ambika-garg pushed a commit to ambika-garg/airflow that referenced this pull request Feb 28, 2025
* Pool name shouldn't be updated

* Add tests and no name can go with update_mask
nailo2c pushed a commit to nailo2c/airflow that referenced this pull request Apr 4, 2025
* Pool name shouldn't be updated

* Add tests and no name can go with update_mask
@shubhamraj-git shubhamraj-git deleted the edit-pool branch September 7, 2025 19:39
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants