ibobgunardi opened a new pull request, #67912:
URL: https://github.com/apache/airflow/pull/67912

   ## Summary
   
   Adds `airflowctl tasks states-for-dag-run` for retrieving task instance 
states for a Dag run via the public task instances API.
   
   Closes: #66175
   
   ## What changed
   
   - Added `TasksOperations.states_for_dag_run` to call 
`/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances`
   - Added the `tasks` API client accessor
   - Added generated CLI output support and help text for the command
   - Added unit coverage and included the command in airflowctl integration 
command coverage
   
   ## Tests
   
   - `python -m ruff check airflow-ctl/src/airflowctl/api/operations.py 
airflow-ctl/src/airflowctl/api/client.py 
airflow-ctl/src/airflowctl/ctl/cli_config.py 
airflow-ctl/tests/airflow_ctl/api/test_operations.py 
airflow-ctl-tests/tests/airflowctl_tests/test_airflowctl_commands.py`
   - `python scripts/ci/prek/check_airflowctl_command_coverage.py`
   - `python scripts/ci/prek/check_airflowctl_help_texts.py`
   - `python -m pytest --confcutdir=airflow-ctl/tests/airflow_ctl/api 
airflow-ctl/tests/airflow_ctl/api/test_operations.py -k 'TasksOperations or 
DagRunOperations'`
   


-- 
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]

Reply via email to