(self, _model, _machine, _scope, *args, **kwargs)
Internal trigger function called by the ``HierarchicalMachine`` instance. This should not
        be called directly but via the public method ``HierarchicalMachine.process``. In contrast to
        the inherited ``Event._trigger``, this requires a scope tuple to process triggers in the right context.
        Args:
            _model (object): The currently processed model
            _machine (HierarchicalMachine): The machine that should be used to process the event
            _scope (Tuple): A tuple containing information about the currently scoped object, states an transitions.
            args and kwargs: Optional positional or named arguments that will
                be passed onto the EventData object, enabling arbitrary state
                information to be passed on to downstream triggered functions.
        Returns: boolean indicating whether or not a transition was
            successfully executed (True if successful, False if not).
Internal trigger function called by the ``HierarchicalMachine`` instance. This should not
        be called directly but via the public method ``HierarchicalMachine.process``. In contrast to
        the inherited ``Event._trigger``, this requires a scope tuple to process triggers in the right context.
        Args:
            _model (object): The currently processed model
            _machine (HierarchicalMachine): The machine that should be used to process the event
            _scope (Tuple): A tuple containing information about the currently scoped object, states an transitions.
            args and kwargs: Optional positional or named arguments that will
                be passed onto the EventData object, enabling arbitrary state
                information to be passed on to downstream triggered functions.
        Returns: boolean indicating whether or not a transition was
            successfully executed (True if successful, False if not).
Internal trigger function called by the HierarchicalMachine instance . This should not be called directly but via the public method HierarchicalMachine . process . In contrast to the inherited Event . _trigger this requires a scope tuple to process triggers in the right context . Args : _model ( object ) : The currently processed model _machine ( HierarchicalMachine ) : The machine that should be used to process the event _scope ( Tuple ) : A tuple containing information about the currently scoped object states an transitions . args and kwargs : Optional positional or named arguments that will be passed onto the EventData object enabling arbitrary state information to be passed on to downstream triggered functions . Returns : boolean indicating whether or not a transition was successfully executed ( True if successful False if not ) .
def _trigger(self, _model, _machine, _scope, *args, **kwargs):
        """ Internal trigger function called by the ``HierarchicalMachine`` instance. This should not
        be called directly but via the public method ``HierarchicalMachine.process``. In contrast to
        the inherited ``Event._trigger``, this requires a scope tuple to process triggers in the right context.
        Args:
            _model (object): The currently processed model
            _machine (HierarchicalMachine): The machine that should be used to process the event
            _scope (Tuple): A tuple containing information about the currently scoped object, states an transitions.
            args and kwargs: Optional positional or named arguments that will
                be passed onto the EventData object, enabling arbitrary state
                information to be passed on to downstream triggered functions.
        Returns: boolean indicating whether or not a transition was
            successfully executed (True if successful, False if not).
        """
        if _scope[0] != _machine.scoped:
            with _machine(_scope):
                return self._trigger_scoped(_model, _machine, *args, **kwargs)
        else:
            return self._trigger_scoped(_model, _machine, *args, **kwargs)
def _trigger ( self , _model , _machine , _scope , * args , * * kwargs ) : if _scope [ 0 ] != _machine . scoped : with _machine ( _scope ) : return self . _trigger_scoped ( _model , _machine , * args , * * kwargs ) else : return self . _trigger_scoped ( _model , _machine , * args , * * kwargs )