(self, base_event, chain_id)
return events
Returns a chain of events from a base event.

        Args:
            base_event: the base event of the chain, used to construct further
                queries (instance of Event).
            chain_id: a string with the chain UUID value.

        Returns:
            A list of dicts with the chain and event attached.
Returns a chain of events from a base event.
Returns a chain of events from a base event .
def build_chain(self, base_event, chain_id):
        """Returns a chain of events from a base event.

        Args:
            base_event: the base event of the chain, used to construct further
                queries (instance of Event).
            chain_id: a string with the chain UUID value.

        Returns:
            A list of dicts with the chain and event attached.
        """
        events = []
        for event in self.get_chained_events(base_event):
            chain = {
                'chain_id': chain_id,
                'plugin': self.NAME,
                'is_base': False
            }
            events.append({
                'event_id': event.event_id,
                'event': event,
                'chain': chain,
            })
        return events
def build_chain ( self , base_event , chain_id ) : events = [ ] for event in self . get_chained_events ( base_event ) : chain = { 'chain_id' : chain_id , 'plugin' : self . NAME , 'is_base' : False } events . append ( { 'event_id' : event . event_id , 'event' : event , 'chain' : chain , } ) return events