Add --team-name support to pool CLI commands#68110
Merged
Merged
Conversation
Add the ability to assign pools to teams via the CLI: - airflow pools set --team-name <team> - Pool import/export JSON includes team_name field - Pool list/get output shows team_name column Validates that multi_team mode is enabled when team_name is provided.
1 task
vincbeck
reviewed
Jun 8, 2026
vincbeck
left a comment
Contributor
There was a problem hiding this comment.
Happy to approve if needed but this is not needed, airflowctl will very soon replace airflow CLI for this kind of operation. And airflowctl is just a wrapper on top of Airflow API, so it is already handled
vincbeck
approved these changes
Jun 8, 2026
Contributor
Author
Yeah, fair, but even if there is a little bit of a gap I think we should include this. We've already had some folks hit this and be confused that it isn't available on the CLI. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add the ability to assign pools to teams via the CLI:
Validates that multi_team mode is enabled when team_name is provided.
Was generative AI tooling used to co-author this PR?
{pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.