MCPcopy Index your code
hub / github.com/StackStorm/st2 / put

Method put

st2client/st2client/utils/httpclient.py:145–148  ·  view source on GitHub ↗
(self, url, data, **kwargs)

Source from the content-addressed store, hash-verified

143 @add_json_content_type_to_headers
144 @add_basic_auth_creds_to_kwargs
145 def put(self, url, data, **kwargs):
146 response = requests.put(self.root + url, json.dumps(data), **kwargs)
147 response = self._response_hook(response=response)
148 return response
149
150 @add_ssl_verify_to_kwargs
151 @add_auth_token_to_headers

Callers 6

_copy_artifactsMethod · 0.45
updateMethod · 0.45
pauseMethod · 0.45
resumeMethod · 0.45
respondMethod · 0.45
updateMethod · 0.45

Calls 1

_response_hookMethod · 0.95

Tested by

no test coverage detected