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

Method __init__

python/graphscope/client/connection.py:42–46  ·  view source on GitHub ↗
(self, graph_def, conn=None)

Source from the content-addressed store, hash-verified

40
41class Graph:
42 def __init__(self, graph_def, conn=None) -> None:
43 self._schema = GraphSchema()
44 self._schema.from_graph_def(graph_def)
45 self._conn: Connection = conn
46 self._schema._conn = conn
47
48 def schema(self):
49 return self._schema

Callers

nothing calls this directly

Calls 2

GraphSchemaClass · 0.90
from_graph_defMethod · 0.80

Tested by

no test coverage detected