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

Method __init__

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

Source from the content-addressed store, hash-verified

119
120class RoleAssignmentBranch(resource.ResourceBranch):
121 def __init__(self, description, app, subparsers, parent_parser=None):
122 super(RoleAssignmentBranch, self).__init__(
123 UserRoleAssignment,
124 description,
125 app,
126 subparsers,
127 parent_parser=parent_parser,
128 read_only=True,
129 commands={
130 "list": RoleAssignmentListCommand,
131 "get": RoleAssignmentGetCommand,
132 },
133 )
134
135
136class RoleAssignmentListCommand(resource.ResourceCommand):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected