コード例 #1
0
    def deactivate(self) -> List[EventType]:
        """Return `Form` event with `None` as name to deactivate the form
        and reset the requested slot"""

        logger.debug(f"Deactivating the form '{self.name()}'")
        return [ActiveLoop(None), SlotSet(REQUESTED_SLOT, None)]