<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_graph_with_random_edges(graph, n_edges: int):
 """Build a new graph from a seeding of edges. :type graph: pybel.BELGraph :param n_edges: Number of edges to randomly select from the given graph :rtype: pybel.BELGraph """

    result = graph.fresh_copy()
    result.add_edges_from(_random_edge_iterator(graph, n_edges))

    update_metadata(graph, result)
    update_node_helper(graph, result)
    return result