MCPcopy Create free account
hub / github.com/alibaba/GraphScope / p2p_property_graph

Function p2p_property_graph

python/graphscope/tests/conftest.py:412–422  ·  view source on GitHub ↗
(graphscope_session)

Source from the content-addressed store, hash-verified

410
411@pytest.fixture(scope="module")
412def p2p_property_graph(graphscope_session):
413 g = graphscope_session.g(generate_eid=False, retain_oid=True, directed=True)
414 g = g.add_vertices(f"{property_dir}/p2p-31_property_v_0", "person")
415 g = g.add_edges(
416 f"{property_dir}/p2p-31_property_e_0",
417 label="knows",
418 src_label="person",
419 dst_label="person",
420 )
421 yield g
422 del g
423
424
425@pytest.fixture(scope="module")

Callers

nothing calls this directly

Calls 3

gMethod · 0.45
add_verticesMethod · 0.45
add_edgesMethod · 0.45

Tested by

no test coverage detected