MCPcopy Create free account
hub / github.com/StackStorm/st2 / run

Method run

st2client/st2client/commands/resource.py:737–740  ·  view source on GitHub ↗
(self, args, **kwargs)

Source from the content-addressed store, hash-verified

735
736 @add_auth_token_to_kwargs_from_cli
737 def run(self, args, **kwargs):
738 resource_id = getattr(args, self.pk_argument_name, None)
739 instance = self.get_resource(resource_id, **kwargs)
740 self.manager.delete(instance, **kwargs)
741
742 def run_and_print(self, args, **kwargs):
743 resource_id = getattr(args, self.pk_argument_name, None)

Callers 1

run_and_printMethod · 0.95

Calls 2

get_resourceMethod · 0.45
deleteMethod · 0.45

Tested by

no test coverage detected