

def _Flatten(self, prefix, item):
    result = []
    for (k, v) in item.items():
        next_prefix = ('%s.%s' % (prefix, result))
        if isinstance(v, dict):
            result.extend(self._Flatten(next_prefix, v))
        else:
            result.append((next_prefix, v))
    return result

dataset/ETHPy150Open google/grr/grr/gui/plugins/rekall_viewer.py GRREProcessObjectRenderer._Flatten/VarMisuse@42/52 `k`->`result`