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

Method __del__

python/graphscope/framework/app.py:471–476  ·  view source on GitHub ↗

Unload app. Both on engine side and python side. Set the key to None.

(self)

Source from the content-addressed store, hash-verified

469 return self._session._wrapper(self._app_node._unload())
470
471 def __del__(self):
472 """Unload app. Both on engine side and python side. Set the key to None."""
473 try:
474 self.session.run(self._unload())
475 except Exception: # pylint: disable=broad-except
476 pass
477
478 def __call__(self, *args, **kwargs):
479 return self._session._wrapper(self._app_node(*args, **kwargs))

Callers

nothing calls this directly

Calls 2

_unloadMethod · 0.95
runMethod · 0.45

Tested by

no test coverage detected