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

Method __init__

st2client/st2client/commands/rbac.py:36–45  ·  view source on GitHub ↗
(self, description, app, subparsers, parent_parser=None)

Source from the content-addressed store, hash-verified

34
35class RoleBranch(resource.ResourceBranch):
36 def __init__(self, description, app, subparsers, parent_parser=None):
37 super(RoleBranch, self).__init__(
38 Role,
39 description,
40 app,
41 subparsers,
42 parent_parser=parent_parser,
43 read_only=True,
44 commands={"list": RoleListCommand, "get": RoleGetCommand},
45 )
46
47
48class RoleListCommand(resource.ResourceCommand):

Callers 3

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected