def edata(self):
        """Return the data view of all the edges.

        Returns
        -------
        EdgeDataView
            The data view in the distributed graph storage.
        """
        assert (
            len(self.etypes) == 1
        ), "edata only works for a graph with one edge type."
        return EdgeDataView(self)
Return the data view of all the edges.

        Returns
        -------
        EdgeDataView
            The data view in the distributed graph storage.
        
python/dgl/distributed/dist_graph.py