rootcss commented on a change in pull request #10770:
URL: https://github.com/apache/airflow/pull/10770#discussion_r499267116



##########
File path: airflow/plugins_manager.py
##########
@@ -183,6 +187,8 @@ def load_plugins_from_plugin_directory():
 
             for mod_attr_value in (m for m in mod.__dict__.values() if 
is_valid_plugin(m)):
                 plugin_instance = mod_attr_value()
+                plugin_instance.plugin_source = "airflow_plugins_directory"
+                plugin_instance.plugin_path = os.path.abspath(file_path)

Review comment:
       makes sense. Since the plugins folder's path can be changed, we can 
prefix the path with `PLUGINS_FOLDER/`. I've made that change.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to