[
https://issues.apache.org/jira/browse/AIRFLOW-3415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16703594#comment-16703594
]
Yuri Bendana commented on AIRFLOW-3415:
---------------------------------------
[~ashb], I attached it.
> Imports become null when triggering dagruns in a loop
> -----------------------------------------------------
>
> Key: AIRFLOW-3415
> URL: https://issues.apache.org/jira/browse/AIRFLOW-3415
> Project: Apache Airflow
> Issue Type: Bug
> Components: DagRun
> Affects Versions: 1.10.1
> Environment: CentOS 7
> Reporter: Yuri Bendana
> Priority: Minor
> Attachments: triggerdag_stacktrace.txt
>
>
> When triggering dagruns in a loop, the imported references become null on the
> second iteration. Here is an example [ gist |
> [https://gist.github.com/ybendana/3bc0791fe00b099be04aca47a8d524c9] ]. For
> the purposes here, you can ignore the DagRunSensor task. On the first
> iteration the 'sleeper' dag gets triggered but on the second iteration I see a
> {noformat}
> TypeError: 'NoneType' object is not callable{noformat}
> To workaround this, I have to copy the import (in this case trigger_dag)
> inside the loop.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)