def edges_to_path(edges):
    if not edges:
        return None

    G = edges_to_graph(edges)
    path = nx.topological_sort(G)
    return path
Returns the selected payment method for given request. This could either
dataset/ETHPy150Open tanghaibao/jcvi/algorithms/lpsolve.py/edges_to_path--crossover with--dataset/ETHPy150Open diefenbach/django-lfs/lfs/payment/utils.py/get_selected_payment_method