apache / apache/airflow

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

Open
#66,173 5 comments 0 reactions 0 assignees View on GitHub
area:airflow-ctl area:API area:CLI good first issue kind:feature kind:meta
Dominant language
Python
Stars
46.9k
Forks
17.8k
Avg merge
2d 9h
Merged PRs (30d)
472

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

- [x] I acknowledge that I am a maintainer/committer of the Apache Airflow project.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.