(self, trigger, *args, **kwargs)
return all([getattr(model, trigger)(*args, **kwargs) for model in self.models])
Trigger an event on all models assigned to the machine.
        Args:
            trigger (str): Event name
            *args (list): List of arguments passed to the event trigger
            **kwargs (dict): Dictionary of keyword arguments passed to the event trigger
        Returns:
            bool The truth value of all triggers combined with AND
Trigger an event on all models assigned to the machine.
        Args:
            trigger (str): Event name
            *args (list): List of arguments passed to the event trigger
            **kwargs (dict): Dictionary of keyword arguments passed to the event trigger
        Returns:
            bool The truth value of all triggers combined with AND
Trigger an event on all models assigned to the machine . Args : trigger ( str ) : Event name * args ( list ) : List of arguments passed to the event trigger ** kwargs ( dict ) : Dictionary of keyword arguments passed to the event trigger Returns : bool The truth value of all triggers combined with AND
def dispatch(self, trigger, *args, **kwargs):
        """ Trigger an event on all models assigned to the machine.
        Args:
            trigger (str): Event name
            *args (list): List of arguments passed to the event trigger
            **kwargs (dict): Dictionary of keyword arguments passed to the event trigger
        Returns:
            bool The truth value of all triggers combined with AND
        """
        return all([getattr(model, trigger)(*args, **kwargs) for model in self.models])
def dispatch ( self , trigger , * args , * * kwargs ) : return all ( [ getattr ( model , trigger ) ( * args , * * kwargs ) for model in self . models ] )