diff options
| author | Nejc Habjan <hab.nejc@gmail.com> | 2021-05-30 06:48:19 +0200 |
|---|---|---|
| committer | John Villalovos <john@sodarock.com> | 2021-05-30 08:50:09 -0700 |
| commit | fe7d19de5aeba675dcb06621cf36ab4169391158 (patch) | |
| tree | 4db5feb840dc3496f52b496f939799d8bff41523 /gitlab | |
| parent | f731707f076264ebea65afc814e4aca798970953 (diff) | |
| download | gitlab-fe7d19de5aeba675dcb06621cf36ab4169391158.tar.gz | |
chore: apply suggestions
Diffstat (limited to 'gitlab')
| -rw-r--r-- | gitlab/client.py | 2 | ||||
| -rw-r--r-- | gitlab/v4/objects/groups.py | 2 | ||||
| -rw-r--r-- | gitlab/v4/objects/projects.py | 3 |
3 files changed, 4 insertions, 3 deletions
diff --git a/gitlab/client.py b/gitlab/client.py index fe018af..d6233db 100644 --- a/gitlab/client.py +++ b/gitlab/client.py @@ -118,7 +118,7 @@ class Gitlab(object): self.groups = objects.GroupManager(self) self.hooks = objects.HookManager(self) self.issues = objects.IssueManager(self) - self.issuesstatistics = objects.IssuesStatisticsManager(self) + self.issues_statistics = objects.IssuesStatisticsManager(self) self.ldapgroups = objects.LDAPGroupManager(self) self.licenses = objects.LicenseManager(self) self.namespaces = objects.NamespaceManager(self) diff --git a/gitlab/v4/objects/groups.py b/gitlab/v4/objects/groups.py index 6a569ca..2811c05 100644 --- a/gitlab/v4/objects/groups.py +++ b/gitlab/v4/objects/groups.py @@ -53,7 +53,7 @@ class Group(SaveMixin, ObjectDeleteMixin, RESTObject): ("epics", "GroupEpicManager"), ("imports", "GroupImportManager"), ("issues", "GroupIssueManager"), - ("issuesstatistics", "GroupIssuesStatisticsManager"), + ("issues_statistics", "GroupIssuesStatisticsManager"), ("labels", "GroupLabelManager"), ("members", "GroupMemberManager"), ("members_all", "GroupMemberAllManager"), diff --git a/gitlab/v4/objects/projects.py b/gitlab/v4/objects/projects.py index 8401c5c..b9951a7 100644 --- a/gitlab/v4/objects/projects.py +++ b/gitlab/v4/objects/projects.py @@ -155,7 +155,8 @@ class Project(RefreshMixin, SaveMixin, ObjectDeleteMixin, RepositoryMixin, RESTO ("wikis", "ProjectWikiManager"), ("clusters", "ProjectClusterManager"), ("additionalstatistics", "ProjectAdditionalStatisticsManager"), - ("issuesstatistics", "ProjectIssuesStatisticsManager"), + ("issues_statistics", "ProjectIssuesStatisticsManager"), + ("issuesstatistics", "ProjectIssuesStatisticsManager"), # Deprecated ("deploytokens", "ProjectDeployTokenManager"), ) |
