You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Anatoli Babenia (JIRA)" <ji...@apache.org> on 2019/01/21 09:57:00 UTC
[jira] [Created] (AIRFLOW-3739) Make start_date optional
Anatoli Babenia created AIRFLOW-3739:
----------------------------------------
Summary: Make start_date optional
Key: AIRFLOW-3739
URL: https://issues.apache.org/jira/browse/AIRFLOW-3739
Project: Apache Airflow
Issue Type: Improvement
Components: api
Affects Versions: 1.10.3
Reporter: Anatoli Babenia
I want to define DAG, but not schedule it for running.
```
from airflow import DAG
from airflow.operators.bash_operator import BashOperator
dag = DAG('115', schedule_interval="@daily")
seed = BashOperator(
task_id='get_seed',
bash_command='date'
)
dag >> seed
```
This fails with the error below.
```
airflow.exceptions.AirflowException: Task is missing the start_date parameter
zsh returned exit code 1
```
It it possible to make `start_date` optional. If not, why?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)