You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/09/14 15:01:06 UTC

[GitHub] [airflow] kaxil commented on a diff in pull request #26357: Require dag_id arg for dags list-runs

kaxil commented on code in PR #26357:
URL: https://github.com/apache/airflow/pull/26357#discussion_r970936856


##########
airflow/cli/cli_parser.py:
##########
@@ -263,6 +263,9 @@ def string_lower_type(val):
 )
 
 # list_dag_runs
+ARG_DAG_ID_REQ_FLAG = Arg(
+    ("-d", "--dag-id"), required=True, help="The id of the dag"
+)  # convert this to a positional arg in Airflow 3

Review Comment:
   ```suggestion
   )  # TODO: convert this to a positional arg in Airflow 3
   ```
   
   so it shows up in the TODO list in editors or via regex



-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org