airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dimitri Vasdekis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-89) Documentation error on Tutorial site
Date Tue, 10 May 2016 06:02:12 GMT

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

Dimitri Vasdekis commented on AIRFLOW-89:
-----------------------------------------

I closed this as the code sample can be inferred to relate to the above template - but then
that template has a 5 minute time window instead of the '1 day' talked about in the commentary?

Could probably use some clarity!

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

Mime
View raw message