#2912 - Minor update to extensible actions documentation and moved old actions into _legacy

This commit is contained in:
Charlie Crane
2024-11-15 17:40:11 +00:00
parent ce77df00cc
commit 0439c3159e
2 changed files with 2 additions and 0 deletions

View File

@@ -25,8 +25,10 @@ New actions to be used within PrimAITE require:
.. code-block:: python
class ExampleAction(AbstractAction, identifier="Example_action"):
"""An example action for demonstration purposes."""
class ConfigSchema(AbstractAction.ConfigSchema):
"""The configuration schema with all attributes expected goes here."""
target_application: str
The ConfigSchema is used when the class is called to form the action, within the `form_request` method, detailed below.