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

Method run

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

Source from the content-addressed store, hash-verified

374
375 @add_auth_token_to_kwargs_from_cli
376 def run(self, args, **kwargs):
377 include_attributes = self._get_include_attributes(args=args)
378 if include_attributes:
379 include_attributes = ",".join(include_attributes)
380 kwargs["params"] = {"include_attributes": include_attributes}
381
382 return self.manager.get_all(**kwargs)
383
384 def run_and_print(self, args, **kwargs):
385 instances = self.run(args, **kwargs)

Callers 1

run_and_printMethod · 0.95

Calls 2

get_allMethod · 0.45

Tested by

no test coverage detected