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

Function check_conf

python/seldon/cli/cli_main.py:312–316  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

310 print "Existing conf file [{fpath}] found.".format(**locals())
311
312def check_conf():
313 fpath = gdata['conf_path']
314 if os.path.isfile(fpath):
315 with open(fpath) as data_file:
316 gdata["conf_data"] = json.load(data_file)
317
318def start_zk_client(opts):
319 zk_hosts = opts.zk_hosts

Callers 1

mainFunction · 0.70

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected