Lee-W commented on code in PR #66004:
URL: https://github.com/apache/airflow/pull/66004#discussion_r3298266224
##########
airflow-core/src/airflow/cli/cli_config.py:
##########
@@ -185,6 +185,26 @@ def string_lower_type(val):
),
type=parsedate,
)
+ARG_PARTITION_DATE_START = Arg(
+ ("--partition-date-start",),
+ help=(
+ "Inclusive lower bound of the partition_date window (matched against
DagRun.partition_date). "
+ "Accepts the same datetime formats as --start-date."
+ ),
+ type=parsedate,
+)
+ARG_PARTITION_DATE_END = Arg(
+ ("--partition-date-end",),
+ help=(
+ "Inclusive upper bound of the partition_date window (matched against
DagRun.partition_date). "
+ "Accepts the same datetime formats as --end-date."
+ ),
+ type=parsedate,
+)
+ARG_PARTITION_KEY = Arg(
+ ("--partition-key",),
+ help="Clear all Dag runs whose partition_key matches this exact value.",
+)
Review Comment:
added it in this PR as it's an easy fix. `--only-failed` and
`--only-running` are now in the `dags clear` arg list and passed through to
`Dag.clear()`
--
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]