[
https://issues.apache.org/jira/browse/AIRFLOW-1699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16198708#comment-16198708
]
Michael Crawford commented on AIRFLOW-1699:
-------------------------------------------
I would put them in a package and install them with pip.
> DRY concept in airflow projects
> -------------------------------
>
> Key: AIRFLOW-1699
> URL: https://issues.apache.org/jira/browse/AIRFLOW-1699
> Project: Apache Airflow
> Issue Type: Wish
> Components: DAG
> Reporter: Ramki Subramanian
>
> Hi,
> What would be the best way to use reusable custom code across DAGs. Typical
> python style of "from xx import yy" the modules won't work.
> There were suggestions for making them as zip inside the dags directory and
> use them. But read in some dev forums, that, this feature is going away.
> If I have a collection of 'utils' need to be shared across DAGs what would be
> the suggested "Long term" option given by Airflow?
> Thanks.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)