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

Method run

st2client/st2client/commands/trigger.py:107–109  ·  view source on GitHub ↗
(self, args, **kwargs)

Source from the content-addressed store, hash-verified

105
106 @resource.add_auth_token_to_kwargs_from_cli
107 def run(self, args, **kwargs):
108 trigger_mgr = self.app.client.managers["Trigger"]
109 return trigger_mgr.query(**{"type": args.ref})
110
111 @resource.add_auth_token_to_kwargs_from_cli
112 def run_and_print(self, args, **kwargs):

Callers 1

run_and_printMethod · 0.95

Calls 1

queryMethod · 0.45

Tested by

no test coverage detected