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

Function get_oauth_recommend_params

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

Source from the content-addressed store, hash-verified

92 return params
93
94def get_oauth_recommend_params(opts,params):
95 if not opts.item is None:
96 params["item"] = opts.item
97 if not opts.dimensions is None:
98 params["dimensions"] = opts.dimensions
99 params["type"] = opts.type
100 params["limit"] = opts.limit
101 return params
102
103def get_js_predict_params(opts,params):
104 params["json"] = opts.json

Callers 1

call_oauthFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected