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

Function get_action_params

python/seldon/cli/cmd_api.py:73–80  ·  view source on GitHub ↗
(opts,params)

Source from the content-addressed store, hash-verified

71 sys.exit(1)
72
73def get_action_params(opts,params):
74 params["user"] = opts.user
75 if opts.item is None:
76 params["item"] = 1
77 else:
78 params["item"] = opts.item
79 params["type"] = opts.type
80 return params
81
82def get_js_recommend_params(opts,params):
83 params["user"] = opts.user

Callers 2

call_jsFunction · 0.85
call_oauthFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected