def get_snapshot_with_keys(snapshots, keys):
    """ Return the first snapshot that with the given subset of keys"""

    sk = set(keys)

    for s in snapshots:
        if (sk.issubset(set(s.keys()))):
            return s

    return None