You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Dimitri Vasdekis (JIRA)" <ji...@apache.org> on 2016/05/10 05:43:12 UTC

[jira] [Created] (AIRFLOW-89) Documentation error on Tutorial site

Dimitri Vasdekis created AIRFLOW-89:
---------------------------------------

             Summary: Documentation error on Tutorial site
                 Key: AIRFLOW-89
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-89
             Project: Apache Airflow
          Issue Type: Bug
          Components: docs
         Environment: https://pythonhosted.org/airflow/tutorial.html#instantiate-a-dag
            Reporter: Dimitri Vasdekis
            Priority: Minor


Commentary says: We also pass the default argument dictionary that we just defined and define a schedule_interval of 1 day for the DAG.

But then the code sample is:
dag = DAG(
    'tutorial', default_args=default_args, schedule_interval=timedelta(1))

The schedule_interval=timedelta(1) should instead be schedule_interval=timedelta(days=1)), I believe.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)