def _resolve_dependencies(G):
    context = {}
    for name in nx.topological_sort(G):
        node = G.node[name]
        try:
            context[name] = _render(node, context)
        except Exception as e:
            LOG.debug('Failed to render %s: %s', name, e, exc_info=True)
            msg = 'Failed to render parameter "%s": %s' % (name, str(e))
            raise ParamException(msg)
    return context
Start scanning for BLE devices with this adapter.
dataset/ETHPy150Open StackStorm/st2/st2common/st2common/util/param.py/_resolve_dependencies--crossover with--dataset/ETHPy150Open adafruit/Adafruit_Python_BluefruitLE/Adafruit_BluefruitLE/interfaces/adapter.py/Adapter.start_scan