|
43 | 43 |
|
44 | 44 | class Group(SaveMixin, ObjectDeleteMixin, RESTObject): |
45 | 45 | _short_print_attr = "name" |
46 | | - _managers = ( |
47 | | - ("accessrequests", "GroupAccessRequestManager"), |
48 | | - ("audit_events", "GroupAuditEventManager"), |
49 | | - ("badges", "GroupBadgeManager"), |
50 | | - ("billable_members", "GroupBillableMemberManager"), |
51 | | - ("boards", "GroupBoardManager"), |
52 | | - ("customattributes", "GroupCustomAttributeManager"), |
53 | | - ("descendant_groups", "GroupDescendantGroupManager"), |
54 | | - ("exports", "GroupExportManager"), |
55 | | - ("epics", "GroupEpicManager"), |
56 | | - ("hooks", "GroupHookManager"), |
57 | | - ("imports", "GroupImportManager"), |
58 | | - ("issues", "GroupIssueManager"), |
59 | | - ("issues_statistics", "GroupIssuesStatisticsManager"), |
60 | | - ("labels", "GroupLabelManager"), |
61 | | - ("members", "GroupMemberManager"), |
62 | | - ("members_all", "GroupMemberAllManager"), |
63 | | - ("mergerequests", "GroupMergeRequestManager"), |
64 | | - ("milestones", "GroupMilestoneManager"), |
65 | | - ("notificationsettings", "GroupNotificationSettingsManager"), |
66 | | - ("packages", "GroupPackageManager"), |
67 | | - ("projects", "GroupProjectManager"), |
68 | | - ("runners", "GroupRunnerManager"), |
69 | | - ("subgroups", "GroupSubgroupManager"), |
70 | | - ("variables", "GroupVariableManager"), |
71 | | - ("clusters", "GroupClusterManager"), |
72 | | - ("deploytokens", "GroupDeployTokenManager"), |
73 | | - ("wikis", "GroupWikiManager"), |
74 | | - ) |
| 46 | + |
| 47 | + accessrequests: GroupAccessRequestManager |
| 48 | + audit_events: GroupAuditEventManager |
| 49 | + badges: GroupBadgeManager |
| 50 | + billable_members: GroupBillableMemberManager |
| 51 | + boards: GroupBoardManager |
| 52 | + clusters: GroupClusterManager |
| 53 | + customattributes: GroupCustomAttributeManager |
| 54 | + deploytokens: GroupDeployTokenManager |
| 55 | + descendant_groups: "GroupDescendantGroupManager" |
| 56 | + epics: GroupEpicManager |
| 57 | + exports: GroupExportManager |
| 58 | + hooks: GroupHookManager |
| 59 | + imports: GroupImportManager |
| 60 | + issues: GroupIssueManager |
| 61 | + issues_statistics: GroupIssuesStatisticsManager |
| 62 | + labels: GroupLabelManager |
| 63 | + members: GroupMemberManager |
| 64 | + members_all: GroupMemberAllManager |
| 65 | + mergerequests: GroupMergeRequestManager |
| 66 | + milestones: GroupMilestoneManager |
| 67 | + notificationsettings: GroupNotificationSettingsManager |
| 68 | + packages: GroupPackageManager |
| 69 | + projects: GroupProjectManager |
| 70 | + runners: GroupRunnerManager |
| 71 | + subgroups: "GroupSubgroupManager" |
| 72 | + variables: GroupVariableManager |
| 73 | + wikis: GroupWikiManager |
75 | 74 |
|
76 | 75 | @cli.register_custom_action("Group", ("to_project_id",)) |
77 | 76 | @exc.on_http_error(exc.GitlabTransferProjectError) |
|
0 commit comments