def find_req(key, parent_key):
    parent = [x for x in tree.keys() if x.key == parent_key][0]
    return [x for x in tree[parent] if x.key > key][0]
dataset/ETHPy150Open naiquevin/pipdeptree/tests/test_pipdeptree.py/find_req/operator `==` -> `>`