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

Function dynamic_project_graph

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

Source from the content-addressed store, hash-verified

711
712@pytest.fixture(scope="module")
713def dynamic_project_graph(graphscope_session):
714 with default_session(graphscope_session):
715 g = nx.Graph()
716 g.add_edges_from([(1, 2), (2, 3)], weight=3)
717 pg = g.project_to_simple(e_prop="weight")
718 yield pg
719
720
721@pytest.fixture(scope="module")

Callers

nothing calls this directly

Calls 2

add_edges_fromMethod · 0.95
default_sessionFunction · 0.90

Tested by

no test coverage detected