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

Function extractExtraSeldonParams

client/js-client/src/rlClient.js:68–78  ·  view source on GitHub ↗
(param_list)

Source from the content-addressed store, hash-verified

66 }
67
68 function extractExtraSeldonParams(param_list) {
69 var i, retVal = {};
70
71 if (param_list.length > 1) {
72 for (i = 1; i < param_list.length; i += 1) {
73 retVal[param_list[i].split('$')[0]] = param_list[i].split('$')[1];
74 }
75 }
76
77 return retVal;
78 }
79
80 function parameterString(params, keep) {
81 var preserved = underscore.chain(underscore.keys(params).sort())

Callers 2

addActionFunction · 0.85
recommendationsForFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected