[AIRFLOW-XXX] Add note about plugin docs (#4706)

This commit is contained in:
Drew J. Sonne 2019-02-13 19:58:05 +00:00 коммит произвёл Ash Berlin-Taylor
Родитель 3389fe29c4
Коммит b2eea1ad5a
1 изменённых файлов: 9 добавлений и 1 удалений

Просмотреть файл

@ -97,6 +97,14 @@ looks like:
appbuilder_views = []
# A list of dictionaries containing FlaskAppBuilder BaseView object and some metadata. See example below
appbuilder_menu_items = []
# A callback to perform actions when airflow starts and the plugin is loaded.
# NOTE: Ensure your plugin has *args, and **kwargs in the method definition
# to protect against extra parameters injected into the on_load(...)
# function in future changes
def on_load(*args, **kwargs):
# ... perform Plugin boot actions
pass