MCPcopy Create free account
hub / github.com/SeldonIO/seldon-server / node_get

Function node_get

python/seldon/shell/zk_utils.py:24–29  ·  view source on GitHub ↗
(zk_client, node_path)

Source from the content-addressed store, hash-verified

22 print "updated zk node[{node_path}]".format(node_path=node_path)
23
24def node_get(zk_client, node_path):
25 theValue = None
26 if zk_client.exists(node_path):
27 theValue = zk_client.get(node_path)
28 theValue = theValue[0]
29 return theValue.strip() if theValue != None else theValue
30

Callers

nothing calls this directly

Calls 1

getMethod · 0.65

Tested by

no test coverage detected