diff --git a/rasa_sdk/forms.py b/rasa_sdk/forms.py index 764c9a625..64e3d4ecf 100644 --- a/rasa_sdk/forms.py +++ b/rasa_sdk/forms.py @@ -682,6 +682,7 @@ class FormValidationAction(Action, ABC): """A helper class for slot validations and extractions of custom slots.""" def form_name(self) -> Text: + """Returns the form's name.""" return self.name().replace("validate_", "", 1) async def run( @@ -690,6 +691,7 @@ async def run( tracker: "Tracker", domain: "DomainDict", ) -> List[EventType]: + """Runs the custom actions. Please the docstring of the parent class.""" extraction_events = await self.extract_custom_slots(dispatcher, tracker, domain) tracker.add_slots(extraction_events)