apache/airflow

[AIP-94] airflowctl tasks: add TasksOperations and TaskInstancesOperations to operations.py

Open

#66173 opened on Apr 30, 2026

View on GitHub
 (3 comments) (0 reactions) (0 assignees)Python (44,809 stars) (16,781 forks)batch import
area:APIarea:CLIarea:airflow-ctlgood first issuekind:featurekind:meta

Description

Body

Add TasksOperations and TaskInstancesOperations classes to airflowctl/api/operations.py. These return the API response directly with no transformation — CLI commands are auto-generated by CommandFactory. Also unblocks Issue C (custom task commands), which reuses the same operations.

All REST API endpoints already exist.

Operations to add

On top of https://github.com/apache/airflow/issues/61547, verify the existence, and please don't duplicate

Note

  • anything work with single endpoint under operation.py
  • anything needs multiple endpoint or transformation goesn ctl/commands
  • including unit and integration test under airflow-ctl-tests/

Committer

  • I acknowledge that I am a maintainer/committer of the Apache Airflow project.

Contributor guide