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

Method _close_learning_instances

python/graphscope/framework/graph.py:1421–1427  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1419 self._interactive_instance_list.clear()
1420
1421 def _close_learning_instances(self):
1422 for instance in self._learning_instance_list:
1423 try:
1424 instance.close()
1425 except Exception: # pylint: disable=broad-except
1426 logger.exception("Failed to close interactive instances")
1427 self._learning_instance_list.clear()
1428
1429
1430class UnloadedGraph(DAGNode):

Callers 1

_unloadMethod · 0.95

Calls 3

exceptionMethod · 0.80
closeMethod · 0.65
clearMethod · 0.65

Tested by

no test coverage detected