rasa/core/actions/action.py
def ensure_action_name_uniqueness(action_names: List[Text]) -> None:
    """Check and raise an exception if there are two actions with same name."""

    unique_action_names = set()  # used to collect unique action names
    for a in action_names:
        if a in unique_action_names:
            raise ValueError(
                "Action names are not unique! Found two actions with name"
                " '{}'. Either rename or remove one of them.".format(a))
        else:
            unique_action_names.add(a)
Check and raise an exception if there are two actions with same name.
Check and raise an exception if there are two actions with same name.
Check and raise an exception if there are two actions with same name .
def ensure_action_name_uniqueness(action_names: List[Text]) -> None:
    unique_action_names = set()  
    for a in action_names:
        if a in unique_action_names:
            raise ValueError(
                "Action names are not unique! Found two actions with name"
                " '{}'. Either rename or remove one of them.".format(a))
        else:
            unique_action_names.add(a)
def ensure_action_name_uniqueness ( action_names : List [ Text ] ) -> None : unique_action_names = set ( ) for a in action_names : if a in unique_action_names : raise ValueError ( "Action names are not unique! Found two actions with name" " '{}'. Either rename or remove one of them." . format ( a ) ) else : unique_action_names . add ( a )
Check and raise an exception if there are two actions with same name.
Check and raise an exception if there are two actions with same name .
"""Check and raise an exception if there are two actions with same name.""" # used to collect unique action names
action_names
List[Text]