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)

Reply via email to