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

Method session

python/graphscope/nx/classes/graph.py:407–417  ·  view source on GitHub ↗

Get the session of graph. Returns: Return session that the graph belongs to.

(self)

Source from the content-addressed store, hash-verified

405
406 @property
407 def session(self):
408 """Get the session of graph.
409
410 Returns:
411 Return session that the graph belongs to.
412 """
413 if hasattr(self, "_graph") and self._is_client_view:
414 return (
415 self._graph.session
416 ) # this graph is a client side graph view, use host graph session
417 return self._session
418
419 @property
420 def session_id(self):

Callers 3

graphscope_sessionFunction · 0.45
setup_classMethod · 0.45

Calls

no outgoing calls

Tested by 3

graphscope_sessionFunction · 0.36
setup_classMethod · 0.36