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

Method __del__

python/graphscope/client/session.py:772–777  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

770 self._grpc_client.close_learning_instance(instance.object_id)
771
772 def __del__(self):
773 # cleanly ignore all exceptions
774 try:
775 self.close()
776 except Exception: # pylint: disable=broad-except
777 pass
778
779 def _check_closed(self, msg=None):
780 """Internal: raise a ValueError if session is closed"""

Callers

nothing calls this directly

Calls 1

closeMethod · 0.95

Tested by

no test coverage detected