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

Function action_call

python/seldon/cli/cmd_api.py:188–194  ·  view source on GitHub ↗
(gopts,command_data,opts)

Source from the content-addressed store, hash-verified

186
187
188def action_call(gopts,command_data,opts):
189 auth = get_auth(command_data,opts)
190 if opts.endpoint.startswith("/js"):
191 call_js(gopts,command_data,opts,auth)
192 else:
193 token = get_token(gopts,command_data,opts,auth)
194 call_oauth(gopts,command_data,opts,token)
195
196def cmd_api(gopts,command_data, command_args):
197 actions = {

Callers

nothing calls this directly

Calls 4

get_authFunction · 0.85
call_jsFunction · 0.85
call_oauthFunction · 0.85
get_tokenFunction · 0.70

Tested by

no test coverage detected