You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/09/18 21:26:00 UTC

[jira] [Commented] (AIRFLOW-3739) Make start_date optional

    [ https://issues.apache.org/jira/browse/AIRFLOW-3739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17417229#comment-17417229 ] 

ASF GitHub Bot commented on AIRFLOW-3739:
-----------------------------------------

potiuk closed pull request #5423:
URL: https://github.com/apache/airflow/pull/5423


   


-- 
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


> 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)