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

Method _check_closed

python/graphscope/client/session.py:779–782  ·  view source on GitHub ↗

Internal: raise a ValueError if session is closed

(self, msg=None)

Source from the content-addressed store, hash-verified

777 pass
778
779 def _check_closed(self, msg=None):
780 """Internal: raise a ValueError if session is closed"""
781 if self.closed:
782 raise ValueError(msg or "Operation on closed session.")
783
784 # Context manager
785 def __enter__(self):

Callers 1

__enter__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected