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

Method __del__

python/graphscope/nx/classes/graph.py:386–399  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

384 )
385
386 def __del__(self):
387 if self._key is None or self._session.disconnected:
388 return
389
390 if self.cache.enable_iter_cache:
391 try:
392 self.cache.shutdown()
393 except: # noqa: E722, pylint: disable=bare-except
394 pass
395 self.cache.shutdown_executor()
396
397 if not self._is_client_view and self._unload_op is not None:
398 self._unload_op.eval()
399 self._key = None
400
401 @property
402 def op(self):

Callers

nothing calls this directly

Calls 3

shutdown_executorMethod · 0.80
shutdownMethod · 0.45
evalMethod · 0.45

Tested by

no test coverage detected