def find(obj, find_key):

    all_matches = [find_inner(item, find_key) for item in obj]
    final = [item for sublist in all_matches for item in sublist]

    return final
Takes a list and a set.  Returns a list of all matching objects.
dataset/ETHPy150Open ceralena/salt-state-graph/salt_state_graph/__init__.py/find