apache/airflow

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

Open

#66,173 创建于 2026年4月30日

在 GitHub 查看
 (3 评论) (0 反应) (0 负责人)Python (44,809 star) (16,781 fork)batch import
area:APIarea:CLIarea:airflow-ctlgood first issuekind:featurekind:meta

描述

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.

贡献者指南