qiskit/transpiler/passmanager.py
def dump_passes(self):
        """
        Fetches the passes added to this flow controller.

        Returns (dict): {'options': self.options, 'passes': [passes], 'type': type(self)}
        """
        ret = {'options': self.options, 'passes': [], 'type': type(self)}
        for pass_ in self._passes:
            if isinstance(pass_, FlowController):
                ret['passes'].append(pass_.dump_passes())
            else:
                ret['passes'].append(pass_)
        return ret
def dump_passes(self):
        ret = {'options': self.options, 'passes': [], 'type': type(self)}
        for pass_ in self._passes:
            if isinstance(pass_, FlowController):
                ret['passes'].append(pass_.dump_passes())
            else:
                ret['passes'].append(pass_)
        return ret
def dump_passes ( self ) : ret = { 'options' : self . options , 'passes' : [ ] , 'type' : type ( self ) } for pass_ in self . _passes : if isinstance ( pass_ , FlowController ) : ret [ 'passes' ] . append ( pass_ . dump_passes ( ) ) else : ret [ 'passes' ] . append ( pass_ ) return ret
Fetches the passes added to this flow controller.

        Returns (dict): {'options': self.options, 'passes': [passes], 'type': type(self)}
Fetches the passes added to this flow controller .