Skip to content

Commit 49674b7

Browse files
authored
Document that plugin names must be unique (#73197)
1 parent 8e283dc commit 49674b7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • airflow-core/docs/administration-and-deployment

‎airflow-core/docs/administration-and-deployment/plugins.rst‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,10 @@ You can derive it by inheritance (please refer to the example below). In the exa
177177
defined as class attributes, but you can also define them as properties if you need to perform
178178
additional initialization. Please note ``name`` inside this class must be specified.
179179

180+
``name`` must also be unique across all plugins. Airflow registers the first plugin it discovers under a
181+
given name and skips any later plugin that reuses it, so two plugins sharing a name means one of them is
182+
not loaded.
183+
180184
Make sure you restart the webserver and scheduler after making changes to plugins so that they take effect.
181185

182186
Plugin Management Interface

0 commit comments

Comments
 (0)