airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AIRFLOW-321) Fix a wrong code example about tests/dags
Date Tue, 12 Jul 2016 17:35:20 GMT

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

ASF subversion and git services commented on AIRFLOW-321:
---------------------------------------------------------

Commit d62a4391c327e521d2e6abe29ee8d201bb9079c9 in incubator-airflow's branch refs/heads/master
from [~sekikn]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=d62a439 ]

[AIRFLOW-321] Fix a wrong code example about tests/dags

tests/dags/README.md has a code example such as
"dag = dagbag.get(dag_id)", but DagBag doesn't have a method called get.
That should be fixed as get_dag.


> Fix a wrong code example about tests/dags
> -----------------------------------------
>
>                 Key: AIRFLOW-321
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-321
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: docs
>    Affects Versions: Airflow 1.7.1
>            Reporter: Kengo Seki
>            Assignee: Kengo Seki
>            Priority: Trivial
>             Fix For: Airflow 1.8
>
>
> tests/dags/README.md has the following code example:
> {code}
> dagbag = DagBag()
> dag = dagbag.get(dag_id)
> {code}
> but DagBag doesn't have a method called get.



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

Mime
View raw message