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

Method remove

st2client/st2client/models/core.py:655–661  ·  view source on GitHub ↗
(self, packs, **kwargs)

Source from the content-addressed store, hash-verified

653
654 @add_auth_token_to_kwargs_from_env
655 def remove(self, packs, **kwargs):
656 url = "/%s/uninstall" % (self.resource.get_url_path_name())
657 response = self.client.post(url, {"packs": packs}, **kwargs)
658 if response.status_code != http_client.OK:
659 self.handle_error(response)
660 instance = AsyncRequest.deserialize(parse_api_response(response))
661 return instance
662
663 @add_auth_token_to_kwargs_from_env
664 def search(self, args, ignore_errors=False, **kwargs):

Calls 5

parse_api_responseFunction · 0.85
get_url_path_nameMethod · 0.80
deserializeMethod · 0.80
postMethod · 0.45
handle_errorMethod · 0.45