Пример #1
0
def extract(finds):
    return dict((str(f.full_path), str(f.value)) for f in finds)
Пример #2
0
def _dict_filter(d, keys):
    return dict((k, v) for (k, v) in d.items() if k in keys)