def METHOD_NAME(gds: GraphDataScience) -> None:
    nodes, rels = gds.graph.ogbl._parse_heterogeneous(HeteroOBGLTestDataset())
    assert len(nodes) == 3
    assert nodes[0]["nodeId"].tolist() == [0]
    assert nodes[0]["features"].tolist() == HETEROGENEOUS_NODE_FEAT["A"].tolist()
    assert nodes[0]["labels"].tolist(), ["A"]
    assert nodes[1]["nodeId"].tolist() == [1]
    assert "features" not in nodes[1]
    assert nodes[1]["labels"].tolist() == ["B"]
    assert nodes[2]["nodeId"].tolist() == [2]
    assert nodes[2]["features"].tolist() == HETEROGENEOUS_NODE_FEAT["C"].tolist()
    assert nodes[2]["labels"].tolist() == ["C"]
    assert len(rels) == 3
    assert rels[0]["sourceNodeId"].tolist() == [0]
    assert rels[0]["targetNodeId"].tolist() == [1]
    assert rels[0]["relationshipType"].tolist() == ["R_TRAIN"] * len(HETEROGENEOUS_EDGE_INDEX[("A", "R", "B")][0])
    assert rels[0]["classLabel"].tolist() == [0] * len(HETEROGENEOUS_EDGE_INDEX[("A", "R", "B")][0])
    assert rels[1]["sourceNodeId"].tolist() == [1]
    assert rels[1]["targetNodeId"].tolist() == [2]
    assert rels[1]["relationshipType"].tolist() == ["R2_VALID"] * len(HETEROGENEOUS_EDGE_INDEX[("B", "R2", "C")][0])
    assert rels[1]["classLabel"].tolist() == [1] * len(HETEROGENEOUS_EDGE_INDEX[("B", "R2", "C")][0])
    assert len(rels[2]) == 0