Skip to content

feat: add team_name to Connection, Pool and Variable models#53

Closed
DrFaust92 wants to merge 15 commits into
apache:mainfrom
DrFaust92:feat/team-name
Closed

feat: add team_name to Connection, Pool and Variable models#53
DrFaust92 wants to merge 15 commits into
apache:mainfrom
DrFaust92:feat/team-name

Conversation

@DrFaust92

Copy link
Copy Markdown
Contributor

Airflow 3 (v2 API) added an optional team_name field on connections, pools, and variables for multi-team deployments. This adds it to the three models so consumers (e.g. the Terraform provider / k8s operator) can set it.

  • Connection, Pool, Variable: new TeamName *string field (json:"team_name,omitempty") + GetTeamName/GetTeamNameOk/HasTeamName/SetTeamName + serialized in MarshalJSON.
  • Hand-patched (the current models are v1-shaped; a full regen from the v2 spec would reshape everything). The three files are added to .openapi-generator-ignore so a future regeneration won't drop the field.

Verified: go build ./... passes and a serialization test confirms team_name is emitted by all three models when set (and omitted when not).

🤖 Generated with Claude Code

DrFaust92 and others added 15 commits October 22, 2023 23:07
Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>
Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>
Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>
Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>
Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>
Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>
Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>
Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>
Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>
Airflow 3 (v2 API) added an optional team_name field for multi-team
deployments. Add it to the three models (field + accessors + MarshalJSON)
so clients can set it. Hand-patched (the current models are v1-shaped);
the three files are added to .openapi-generator-ignore so a future
regeneration does not drop the field.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@DrFaust92

Copy link
Copy Markdown
Contributor Author

Opened against the wrong base (meant for the drfaust92 fork). Closing.

@DrFaust92 DrFaust92 closed this Jul 4, 2026
@DrFaust92 DrFaust92 deleted the feat/team-name branch July 4, 2026 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant