mik-laj commented on a change in pull request #6993: [AIRFLOW-4502] new cli
command - task_states_for_dag_run
URL: https://github.com/apache/airflow/pull/6993#discussion_r362356214
##########
File path: airflow/cli/commands/task_command.py
##########
@@ -213,6 +213,29 @@ def task_list(args, dag=None):
print("\n".join(sorted(tasks)))
+@cli_utils.action_logging
+def task_states_for_dag_run(args):
+ """Get the status of all task instances in a dag run"""
+ if not args.dag_id or not args.execution_date:
Review comment:
Is this condition needed? dags_id and execution are required arguments. I
think we already have one higher level validation
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services