2 comments (2 comments)0 reactions (0 reactions)0 assignees (0 assignees)Python16,781 forks (16,781 forks)batch import
area:CLIarea:airflow-ctlgood first issuekind:featurekind:meta
Repository metrics
- Stars
- 44,809 stars (44,809 stars)
- PR merge metrics
- Avg merge 7d 18h (Avg merge 7d 18h)834 merged PRs in 30d (834 merged PRs in 30d)
Description
Body
Summary
Add airflowctl tasks state
Implementation
- 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
Contributor guide
- Research direction
- Examine existing airflowctl task commands (e.g., `list`, `run`) to understand the pattern for adding a new subcommand. Look at the `airflowctl/commands/tasks/` directory and the corresponding tests in `airflow ctl tests/`. The `state` command likely needs to call the Airflow REST API endpoint for task state; check the OpenAPI spec for the endpoint. Follow the implementation guidelines: put logic that uses a single endpoint in `operation.py`, and any transformation in `commands/`. Write unit and integration tests.
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Prerequisites
- GitPython