Skip to content

[AIP-94] Add deprecation marker to assets list/details cli commands - #68531

Merged
potiuk merged 1 commit into
apache:mainfrom
justinpakzad:airflow-cli-list-assets-migration
Jun 27, 2026
Merged

potiuk merged 1 commit into
apache:mainfrom
justinpakzad:airflow-cli-list-assets-migration

Conversation

@justinpakzad

@justinpakzad justinpakzad commented Jun 14, 2026 •

Copy link
Copy Markdown
Contributor

This PR adds deprecation markers to assets list and assets details to point to the corresponding airflowctl commands. As described in the issue this is only a maintainer/developer-facing signal that freezes them from further development. It does not warn users.

Note - depending on the parameters passed, a single cli command can correspond to multiple airflowctl commands (e.g., listing assets and listing asset aliases). That is why you will see two commands included in the deprecation warnings here. Also, you will notice the airflowctl assets list-aliases command in one of the deprecation warnings. That is dependent on #68522 being merged (I proposed a rename to list-aliases).

related: #68402

Was generative AI tooling used to co-author this PR?
  • No (please specify the tool below)

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {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.

@justinpakzad justinpakzad changed the title [AIP-94] Route airflow assets list through the airflow-ctl client [AIP-94] Route airflow assets list through the API server Jun 14, 2026
@justinpakzad
justinpakzad force-pushed the airflow-cli-list-assets-migration branch from bdd3937 to e7920cb Compare June 14, 2026 20:08
@justinpakzad justinpakzad changed the title [AIP-94] Route airflow assets list through the API server [AIP-94] Route airflow assets list/details through the API server Jun 14, 2026
@justinpakzad justinpakzad changed the title [AIP-94] Route airflow assets list/details through the API server [AIP-94] Add deprecation marker to assets list/details cli commands Jun 21, 2026
@justinpakzad
justinpakzad force-pushed the airflow-cli-list-assets-migration branch from e7920cb to 4e994a5 Compare June 21, 2026 17:22
@justinpakzad
justinpakzad force-pushed the airflow-cli-list-assets-migration branch from 4e994a5 to b96d5f9 Compare June 26, 2026 20:59
@justinpakzad
justinpakzad marked this pull request as ready for review June 26, 2026 21:42
@potiuk
potiuk merged commit 5e1d3e9 into apache:main Jun 27, 2026
138 checks passed
@henry3260 henry3260 mentioned this pull request Jul 5, 2026
24 of 41 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants