Method
__init__
(self, description, app, subparsers, parent_parser=None)
Source from the content-addressed store, hash-verified
| 21 | |
| 22 | class 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 | |
| 35 | class TimerListCommand(resource.ResourceListCommand): |
Tested by
no test coverage detected