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

Function get_session_by_id

python/graphscope/client/session.py:1532–1536  ·  view source on GitHub ↗

Return the session by handle.

(handle)

Source from the content-addressed store, hash-verified

1530
1531
1532def get_session_by_id(handle):
1533 """Return the session by handle."""
1534 if handle not in _session_dict:
1535 raise ValueError(f"Session {handle} not exists.")
1536 return _session_dict.get(handle)
1537
1538
1539class _DefaultSessionStack(object):

Callers 3

evalMethod · 0.90
__init__Method · 0.90
__init__Method · 0.90

Calls 1

getMethod · 0.65

Tested by

no test coverage detected