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

Method run

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

Source from the content-addressed store, hash-verified

471
472 @add_auth_token_to_kwargs_from_cli
473 def run(self, args, **kwargs):
474 resource_ids = getattr(args, self.pk_argument_name, None)
475 resources = self._get_multiple_resources(
476 resource_ids=resource_ids, kwargs=kwargs
477 )
478 return resources
479
480 def run_and_print(self, args, **kwargs):
481 instances = self.run(args, **kwargs)

Callers 1

run_and_printMethod · 0.95

Calls 1

Tested by

no test coverage detected