def hit(self, **kwargs):
        self.log.debug("Processing Hit")
        # remove the event handlers for this step
        self.machine.events.remove_handler(self.hit)

        self.player[self.config['player_variable']] += 1

        if self.player[self.config['player_variable']] >= (
            len(self.config['events'])):
            self.complete()
        else:
            # add the handlers for the new current step
            for event in (self.config['events']
                          [self.player[self.config['player_variable']]]):
                self.handler_keys.add(
                    self.machine.events.add_handler(event, self.hit))
Transform host dictionary from VIM format to GUI format,
dataset/ETHPy150Open missionpinball/mpf/mpf/system/logic_blocks.py/Sequence.hit--crossover with--dataset/ETHPy150Open nfvlabs/openmano/openmano/vimconn.py/vimconnector.host_vim2gui