[
https://issues.apache.org/jira/browse/AIRFLOW-3739?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anatoli Babenia reopened AIRFLOW-3739:
--------------------------------------
It looks like it was not fixed.
> 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
> Priority: Major
>
> 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
(v8.3.4#803005)