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

Method __init__

st2client/st2client/commands/timer.py:23–32  ·  view source on GitHub ↗
(self, description, app, subparsers, parent_parser=None)

Source from the content-addressed store, hash-verified

21
22class TimerBranch(resource.ResourceBranch):
23 def __init__(self, description, app, subparsers, parent_parser=None):
24 super(TimerBranch, self).__init__(
25 Timer,
26 description,
27 app,
28 subparsers,
29 parent_parser=parent_parser,
30 read_only=True,
31 commands={"list": TimerListCommand, "get": TimerGetCommand},
32 )
33
34
35class TimerListCommand(resource.ResourceListCommand):

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected