|
18 | 18 |
|
19 | 19 | from __future__ import print_function
|
20 | 20 | from __future__ import absolute_import
|
21 |
| -from gitlab.v4 import objects |
| 21 | +from gitlab.exceptions import * # noqa |
| 22 | +from gitlab.v4.objects.application import * # noqa |
| 23 | +from gitlab.v4.objects.broadcast_message import * # noqa |
| 24 | +from gitlab.v4.objects.current_user import * # noqa |
| 25 | +from gitlab.v4.objects.deploy_key import * # noqa |
| 26 | +from gitlab.v4.objects.ee import * # noqa |
| 27 | +from gitlab.v4.objects.event import * # noqa |
| 28 | +from gitlab.v4.objects.feature import * # noqa |
| 29 | +from gitlab.v4.objects.group import * # noqa |
| 30 | +from gitlab.v4.objects.hook import * # noqa |
| 31 | +from gitlab.v4.objects.issue import * # noqa |
| 32 | +from gitlab.v4.objects.mergerequest import * # noqa |
| 33 | +from gitlab.v4.objects.namespace import * # noqa |
| 34 | +from gitlab.v4.objects.notification_settings import * # noqa |
| 35 | +from gitlab.v4.objects.project import * # noqa |
| 36 | +from gitlab.v4.objects.runner import * # noqa |
| 37 | +from gitlab.v4.objects.sidekiq import * # noqa |
| 38 | +from gitlab.v4.objects.snippet import * # noqa |
| 39 | +from gitlab.v4.objects.template import * # noqa |
| 40 | +from gitlab.v4.objects.todo import * # noqa |
| 41 | +from gitlab.v4.objects.user import * # noqa |
22 | 42 | import importlib
|
23 | 43 | import time
|
24 | 44 | import warnings
|
@@ -106,34 +126,32 @@ def __init__(
|
106 | 126 |
|
107 | 127 | self.per_page = per_page
|
108 | 128 |
|
109 |
| - self._objects = objects |
110 |
| - |
111 |
| - self.broadcastmessages = objects.BroadcastMessageManager(self) |
112 |
| - self.deploykeys = objects.DeployKeyManager(self) |
113 |
| - self.geonodes = objects.GeoNodeManager(self) |
114 |
| - self.gitlabciymls = objects.GitlabciymlManager(self) |
115 |
| - self.gitignores = objects.GitignoreManager(self) |
116 |
| - self.groups = objects.GroupManager(self) |
117 |
| - self.hooks = objects.HookManager(self) |
118 |
| - self.issues = objects.IssueManager(self) |
119 |
| - self.ldapgroups = objects.LDAPGroupManager(self) |
120 |
| - self.licenses = objects.LicenseManager(self) |
121 |
| - self.namespaces = objects.NamespaceManager(self) |
122 |
| - self.mergerequests = objects.MergeRequestManager(self) |
123 |
| - self.notificationsettings = objects.NotificationSettingsManager(self) |
124 |
| - self.projects = objects.ProjectManager(self) |
125 |
| - self.runners = objects.RunnerManager(self) |
126 |
| - self.settings = objects.ApplicationSettingsManager(self) |
127 |
| - self.sidekiq = objects.SidekiqManager(self) |
128 |
| - self.snippets = objects.SnippetManager(self) |
129 |
| - self.users = objects.UserManager(self) |
130 |
| - self.todos = objects.TodoManager(self) |
131 |
| - self.dockerfiles = objects.DockerfileManager(self) |
132 |
| - self.events = objects.EventManager(self) |
133 |
| - self.audit_events = objects.AuditEventManager(self) |
134 |
| - self.features = objects.FeatureManager(self) |
135 |
| - self.pagesdomains = objects.PagesDomainManager(self) |
136 |
| - self.user_activities = objects.UserActivitiesManager(self) |
| 129 | + self.broadcastmessages = BroadcastMessageManager(self) |
| 130 | + self.deploykeys = DeployKeyManager(self) |
| 131 | + self.geonodes = GeoNodeManager(self) |
| 132 | + self.gitlabciymls = GitlabciymlManager(self) |
| 133 | + self.gitignores = GitignoreManager(self) |
| 134 | + self.groups = GroupManager(self) |
| 135 | + self.hooks = HookManager(self) |
| 136 | + self.issues = IssueManager(self) |
| 137 | + self.ldapgroups = LDAPGroupManager(self) |
| 138 | + self.licenses = LicenseManager(self) |
| 139 | + self.namespaces = NamespaceManager(self) |
| 140 | + self.mergerequests = MergeRequestManager(self) |
| 141 | + self.notificationsettings = NotificationSettingsManager(self) |
| 142 | + self.projects = ProjectManager(self) |
| 143 | + self.runners = RunnerManager(self) |
| 144 | + self.settings = ApplicationSettingsManager(self) |
| 145 | + self.sidekiq = SidekiqManager(self) |
| 146 | + self.snippets = SnippetManager(self) |
| 147 | + self.users = UserManager(self) |
| 148 | + self.todos = TodoManager(self) |
| 149 | + self.dockerfiles = DockerfileManager(self) |
| 150 | + self.events = EventManager(self) |
| 151 | + self.audit_events = AuditEventManager(self) |
| 152 | + self.features = FeatureManager(self) |
| 153 | + self.pagesdomains = PagesDomainManager(self) |
| 154 | + self.user_activities = UserActivitiesManager(self) |
137 | 155 |
|
138 | 156 | def __enter__(self):
|
139 | 157 | return self
|
|
0 commit comments