You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "James Meickle (JIRA)" <ji...@apache.org> on 2018/06/29 14:16:00 UTC

[jira] [Created] (AIRFLOW-2699) Airflow plugin validation doesn't check whether names are valid identifiers

James Meickle created AIRFLOW-2699:
--------------------------------------

             Summary: Airflow plugin validation doesn't check whether names are valid identifiers
                 Key: AIRFLOW-2699
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2699
             Project: Apache Airflow
          Issue Type: Bug
          Components: plugins
    Affects Versions: 1.10
            Reporter: James Meickle


[https://github.com/apache/incubator-airflow/blob/master/airflow/plugins_manager.py#L52]

 

This code should check whether the plugin name is a valid identifier, because the plugin needs to be importable as a Python module. str.isidentifier() should suffice.



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