Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions airflow-core/src/airflow/cli/commands/dag_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@ def print_execution_interval(interval: DataInterval | None):
print(
"[WARN] No following schedule can be found. "
"This DAG may have schedule interval '@once' or `None`.",
"or have a schedule of '@once' or None.",
Comment on lines 338 to +339
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are actually more cases, once and none are simply the oldest ones (and probably the only ones when this message was first introduced).

Let’s change the entire message to something like This Dag may have a schedule that is not time-based, such as None or @once.

file=sys.stderr,
)
print(None)
Expand Down