TheChyeahhh opened a new pull request, #67756: URL: https://github.com/apache/airflow/pull/67756
## Summary Add minimal stub classes for and to the airflowctl operations layer, following the existing pattern of other operations (e.g., `DagsOperations`, `PoolsOperations`, `XComOperations`). ### TasksOperations - `get(dag_id, task_id)` → `TaskResponse` - `list(dag_id)` → `TaskCollectionResponse` ### TaskInstancesOperations - `get(dag_id, dag_run_id, task_id, map_index?)` → `TaskInstanceResponse` - `list(dag_id, dag_run_id, limit, offset)` → `TaskInstanceCollectionResponse` - `get_dependencies(dag_id, dag_run_id, task_id, map_index?)` → `TaskDependencyCollectionResponse` - `get_tries(dag_id, dag_run_id, task_id, map_index?)` → `TaskInstanceHistoryCollectionResponse` - `patch(dag_id, dag_run_id, task_id, body, map_index?)` → `TaskInstanceCollectionResponse` - `clear(dag_id, body)` → `TaskInstanceCollectionResponse` - `delete(dag_id, dag_run_id, task_id, map_index)` → `None` Both classes are registered as cached properties on the `Client` class (`client.tasks` and `client.task_instances`). Closes #66173 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
