def parser(chunks):

    dictionaries = []
    for chunk in chunks:
        try:
            dictionaries.append(json.loads(chunk))
        except ValueError:
            dictionaries.append({
                'unparsed': chunk
            })

    return dictionaries
Get all extra specs for an instance type.
dataset/ETHPy150Open jomido/jogger/jogger/jogger.py/parser--crossover with--dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/db/api.py/flavor_extra_specs_get