def get_edge(graph, s, t):
    """Get edge attributes.

    Parameters
    ----------
    graph : regraph.Graph
    s : hashable, source node id.
    t : hashable, target node id.
    """
    return graph.get_edge_attrs(s, t)