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

Function p2p_property_graph_string

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

Source from the content-addressed store, hash-verified

451
452@pytest.fixture(scope="module")
453def p2p_property_graph_string(graphscope_session):
454 g = graphscope_session.g(
455 oid_type="string", generate_eid=False, retain_oid=True, directed=True
456 )
457 g = g.add_vertices(f"{property_dir}/p2p-31_property_v_0", "person")
458 g = g.add_edges(
459 f"{property_dir}/p2p-31_property_e_0",
460 label="knows",
461 src_label="person",
462 dst_label="person",
463 )
464 yield g
465 del g
466
467
468@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