def _get_ndata_names(self, ntype=None):
        """Get the names of all node data."""
        names = self._client.gdata_name_list()
        ndata_names = []
        for name in names:
            name = parse_hetero_data_name(name)
            right_type = (
                (name.get_type() == ntype) if ntype is not None else True
            )
            if name.is_node() and right_type:
                ndata_names.append(name)
        return ndata_names
Get the names of all node data.
python/dgl/distributed/dist_graph.py