(node_ids)
| 972 | nodes = F.cat(homo_nids, 0) |
| 973 | |
| 974 | def issue_remote_req(node_ids): |
| 975 | if prob is not None and (not use_graphbolt): |
| 976 | # See NOTE 1 |
| 977 | _prob = [ |
| 978 | ( |
| 979 | # NOTE (BarclayII) |
| 980 | # Currently DistGraph.edges[] does not accept canonical etype. |
| 981 | g.edges[etype].data[prob].kvstore_key |
| 982 | if prob in g.edges[etype].data |
| 983 | else "" |
| 984 | ) |
| 985 | for etype in g.canonical_etypes |
| 986 | ] |
| 987 | else: |
| 988 | _prob = prob |
| 989 | return SamplingRequestEtype( |
| 990 | node_ids, |
| 991 | fanout, |
| 992 | edge_dir=edge_dir, |
| 993 | prob=_prob, |
| 994 | exclude_edges=None, |
| 995 | replace=replace, |
| 996 | etype_sorted=etype_sorted, |
| 997 | use_graphbolt=use_graphbolt, |
| 998 | ) |
| 999 | |
| 1000 | def local_access(local_g, partition_book, local_nids): |
| 1001 | etype_offset = gpb.local_etype_offset |
no test coverage detected