You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Drew Sonne (JIRA)" <ji...@apache.org> on 2019/01/02 08:34:00 UTC

[jira] [Comment Edited] (AIRFLOW-3605) Load Plugins via entry_points

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

Drew Sonne edited comment on AIRFLOW-3605 at 1/2/19 8:33 AM:
-------------------------------------------------------------

Hi [~dzakus13], I have had this [pointed out to me|https://github.com/apache/incubator-airflow/pull/4412#issuecomment-450723914], and I will definitely be using this as reference, but as that PR has been closed, unless otherwise directed by the maintainers, I'll do this in two parts: one for the plugins; and one for DAGs.


was (Author: drewsonne):
Hi [~dzakus13], I have had this pointed out to me, and I will definitely be using this as reference, but as that PR has been closed, unless otherwise directed by the maintainers, I'll do this in two parts: one for the plugins; and one for DAGs.

> Load Plugins via entry_points
> -----------------------------
>
>                 Key: AIRFLOW-3605
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3605
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: plugins
>    Affects Versions: 1.10.1
>            Reporter: Drew Sonne
>            Assignee: Drew Sonne
>            Priority: Minor
>              Labels: features, newbie, pull-request-available
>             Fix For: 1.10.2
>
>
> Added logic to load AirflowPlugins from the [entry_points|https://setuptools.readthedocs.io/en/latest/pkg_resources.html#id16]. Rather than moving files on the OS, this allows plugins to be installed and distributed via {{pip}}.
> Also added a callback to execute business logic from the plugin when the plugin is loaded.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)