MCPcopy Create free account
hub / github.com/alibaba/graph-learn / get_stats

Method get_stats

graphlearn/python/graph.py:1029–1039  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1027 strategy=strategy)
1028
1029 def get_stats(self):
1030 req = pywrap.new_get_stats_request()
1031 res = pywrap.new_get_stats_response()
1032 status = self._client.get_stats(req, res)
1033 stats = None
1034 if status.ok():
1035 stats = pywrap.get_stats(res)
1036 pywrap.del_op_response(res)
1037 pywrap.del_op_request(req)
1038 errors.raise_exception_on_not_ok_status(status)
1039 return stats
1040
1041 def server_get_stats(self):
1042 return self._server.get_stats()

Callers 3

mainFunction · 0.95
server_get_statsMethod · 0.45
test_get_statsFunction · 0.45

Calls 1

okMethod · 0.45

Tested by 2

mainFunction · 0.76
test_get_statsFunction · 0.36