Multi-Team: Add teams inspect CLI command to display team resources - #72036
Draft
SameerMesiah97 wants to merge 1 commit into
Draft
Multi-Team: Add teams inspect CLI command to display team resources#72036SameerMesiah97 wants to merge 1 commit into
SameerMesiah97 wants to merge 1 commit into
Conversation
Adds a new command to display the resources associated with a team. The command reports DAG bundle associations, pools, connections, and variables for the requested team, providing a single view of team-owned resources. Also adds unit tests covering teams with associated resources, empty teams, and nonexistent teams.
SameerMesiah97
force-pushed
the
Multi-Team-Inspect-Command
branch
from
August 24, 2026 18:07
0554d64 to
6c79f82
Compare
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.
Description
This change introduces a new
airflow teams inspectCLI command for displaying the resources associated with a team.The command provides a consolidated view of a team's DAG bundle associations, pools, connections, and variables, making it easier to understand which resources belong to a team and to troubleshoot or prepare administrative operations.
Rationale
As multi-team deployments grow, it becomes useful to inspect a team's resources from a single command rather than querying each resource type independently.
The
teams inspectcommand provides administrators with a convenient overview of team-owned resources, complementing existing management commands such asteams verifyandteams delete.Tests
Added unit tests verifying that:
Documentation
Added CLI help text describing the new
teams inspectcommand.Backwards Compatibility
This change is additive. Existing behaviour is unchanged unless the new
teams inspectcommand is explicitly invoked.Was generative AI tooling used to co-author this PR?
Generated-by: [GPT 5.5] following the guidelines