Skip to content

[airflow-ctl/v0-1-test] Fix airflowctl dags get-tags crashing whenever a Dag has tags (#73743) - #74437

Merged
henry3260 merged 1 commit into
airflow-ctl/v0-1-testfrom
backport-ddb905f-airflow-ctl/v0-1-test
Oct 8, 2026
Merged

henry3260 merged 1 commit into
airflow-ctl/v0-1-testfrom
backport-ddb905f-airflow-ctl/v0-1-test

Conversation

@github-actions

@github-actions github-actions Bot commented Oct 8, 2026

Copy link
Copy Markdown
Contributor
  • Fix airflowctl dags get-tags crashing whenever a Dag has tags

The dagTags endpoint returns tag names as plain strings, but the printer
behind every generated command only renders records. The command raised
"To tabulate non-dictionary data you need to provide mapper function"
for every output format. Print one row per tag instead.

Signed-off-by: 1fanwang [email protected]

  • Pin airflowctl outputs that keep their single-key shape

Cover pools list printing each pool as a record and dagrun get keeping a
single-key list conf on one row, so dropping either guard fails a test.

Signed-off-by: 1fanwang [email protected]


(cherry picked from commit ddb905f)

Co-authored-by: Stefan Wang [email protected]
Signed-off-by: 1fanwang [email protected]

…r a Dag has tags (#73743)

* Fix airflowctl dags get-tags crashing whenever a Dag has tags

The dagTags endpoint returns tag names as plain strings, but the printer
behind every generated command only renders records. The command raised
"To tabulate non-dictionary data you need to provide `mapper` function"
for every output format. Print one row per tag instead.

Signed-off-by: 1fanwang <[email protected]>

* Pin airflowctl outputs that keep their single-key shape

Cover pools list printing each pool as a record and dagrun get keeping a
single-key list conf on one row, so dropping either guard fails a test.

Signed-off-by: 1fanwang <[email protected]>

---------
(cherry picked from commit ddb905f)

Co-authored-by: Stefan Wang <[email protected]>
Signed-off-by: 1fanwang <[email protected]>
@henry3260
henry3260 merged commit b1b5b1a into airflow-ctl/v0-1-test Oct 8, 2026
2 checks passed
@henry3260
henry3260 deleted the backport-ddb905f-airflow-ctl/v0-1-test branch October 8, 2026 04:46
shahar1 pushed a commit that referenced this pull request Nov 19, 2026
…r a Dag has tags (#73743) (#74437)

* Fix airflowctl dags get-tags crashing whenever a Dag has tags

The dagTags endpoint returns tag names as plain strings, but the printer
behind every generated command only renders records. The command raised
"To tabulate non-dictionary data you need to provide `mapper` function"
for every output format. Print one row per tag instead.



* Pin airflowctl outputs that keep their single-key shape

Cover pools list printing each pool as a record and dagrun get keeping a
single-key list conf on one row, so dropping either guard fails a test.



---------
(cherry picked from commit ddb905f)

Signed-off-by: 1fanwang <[email protected]>
Co-authored-by: Stefan Wang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants