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

Method run

st2client/st2client/commands/timer.py:55–62  ·  view source on GitHub ↗
(self, args, **kwargs)

Source from the content-addressed store, hash-verified

53
54 @resource.add_auth_token_to_kwargs_from_cli
55 def run(self, args, **kwargs):
56 if args.timer_type:
57 kwargs["timer_type"] = args.timer_type
58
59 if kwargs:
60 return self.manager.query(**kwargs)
61 else:
62 return self.manager.get_all(**kwargs)
63
64
65class TimerGetCommand(resource.ResourceGetCommand):

Callers

nothing calls this directly

Calls 2

queryMethod · 0.45
get_allMethod · 0.45

Tested by

no test coverage detected