rasa/core/domain.py
def action_for_index(self,
                         index: int,
                         action_endpoint: Optional[EndpointConfig]
                         ) -> Optional[Action]:
        """Integer index corresponding to an actions index in the action list.

        This method resolves the index to the actions name."""

        if self.num_actions <= index or index < 0:
            raise IndexError("Cannot access action at index {}. "
                             "Domain has {} actions."
                             "".format(index, self.num_actions))

        return self.action_for_name(self.action_names[index],
                                    action_endpoint)
Integer index corresponding to an actions index in the action list.

        This method resolves the index to the actions name.
Integer index corresponding to an actions index in the action list.
This method resolves the index to the actions name.
Integer index corresponding to an actions index in the action list . This method resolves the index to the actions name .
def action_for_index(self,
                         index: int,
                         action_endpoint: Optional[EndpointConfig]
                         ) -> Optional[Action]:
        if self.num_actions <= index or index < 0:
            raise IndexError("Cannot access action at index {}. "
                             "Domain has {} actions."
                             "".format(index, self.num_actions))
        return self.action_for_name(self.action_names[index],
                                    action_endpoint)
def action_for_index ( self , index : int , action_endpoint : Optional [ EndpointConfig ] ) -> Optional [ Action ] : if self . num_actions <= index or index < 0 : raise IndexError ( "Cannot access action at index {}. " "Domain has {} actions." "" . format ( index , self . num_actions ) ) return self . action_for_name ( self . action_names [ index ] , action_endpoint )
Integer index corresponding to an actions index in the action list.
Integer index corresponding to an actions index in the action list .
"""Integer index corresponding to an actions index in the action list.

        This method resolves the index to the actions name."""
self
index
int
action_endpoint
Optional[EndpointConfig]