rasa/core/training/structures.py
def _is_checkpoint_in_list(checkpoint_name: Text,
                               conditions: Dict[Text, Any],
                               cps: List[Checkpoint]) -> bool:
        """Checks if checkpoint with name and conditions is
            already in the list of checkpoints."""

        for cp in cps:
            if checkpoint_name == cp.name and conditions == cp.conditions:
                return True
        return False
Checks if checkpoint with name and conditions is
            already in the list of checkpoints.
Checks if checkpoint with name and conditions is
already in the list of checkpoints.
Checks if checkpoint with name and conditions is already in the list of checkpoints .
def _is_checkpoint_in_list(checkpoint_name: Text,
                               conditions: Dict[Text, Any],
                               cps: List[Checkpoint]) -> bool:
        for cp in cps:
            if checkpoint_name == cp.name and conditions == cp.conditions:
                return True
        return False
def _is_checkpoint_in_list ( checkpoint_name : Text , conditions : Dict [ Text , Any ] , cps : List [ Checkpoint ] ) -> bool : for cp in cps : if checkpoint_name == cp . name and conditions == cp . conditions : return True return False
Checks if checkpoint with name and conditions is
already in the list of checkpoints.
Checks if checkpoint with name and conditions is already in the list of checkpoints .
"""Checks if checkpoint with name and conditions is
            already in the list of checkpoints."""
checkpoint_name
Text
conditions
Dict[Text, Any]
cps
List[Checkpoint]