#2912 - Minor changes to documentation page for extensible actions

This commit is contained in:
Charlie Crane
2024-11-19 19:39:23 +00:00
parent d3c52d0d72
commit 8f610a3dd9
2 changed files with 3 additions and 20 deletions

View File

@@ -27,6 +27,8 @@ New actions to be used within PrimAITE require:
class ExampleAction(AbstractAction, identifier="Example_action"):
"""An example action for demonstration purposes."""
config: "ExampleAction.ConfigSchema"
class ConfigSchema(AbstractAction.ConfigSchema):
"""The configuration schema with all attributes expected goes here."""
target_application: str
@@ -55,7 +57,7 @@ New actions to be used within PrimAITE require:
"node",
config.node_name,
"file_system",
cls.model_fields["verb"].default,
config.verb,
"folder",
config.folder_name,
]