Skip to content

Commit

Permalink
Document that one additional plugin per app should implement getAxial…
Browse files Browse the repository at this point in the history
…ExpansionChanger hook
  • Loading branch information
drewj-tp committed Sep 17, 2024
1 parent 0416cb7 commit 9dbbca2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions armi/plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -692,6 +692,10 @@ def getAxialExpansionChanger() -> type["AxialExpansionChanger"]:
This hook **should not** provide an instance of the class. The construction
of the changer will be handled by applications and plugins that need it.
This hook should only be provided by one additional plugin in your application. Otherwise
the `order of hook execution <https://pluggy.readthedocs.io/en/stable/index.html#call-time-order>`_
may not provide the behavior you expect.
Examples
--------
>>> class MyPlugin(ArmiPlugin):
Expand Down

0 comments on commit 9dbbca2

Please sign in to comment.