summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects/statistics.py
diff options
context:
space:
mode:
authorNejc Habjan <hab.nejc@gmail.com>2021-11-05 21:01:58 +0100
committerNejc Habjan <hab.nejc@gmail.com>2021-11-08 19:10:46 +0100
commit444a7f76f287996ae10fa9e6d800399feb698659 (patch)
treef18d6795990bba2e4f1389fa75055d14b995e18f /gitlab/v4/objects/statistics.py
parent472b300154c5e59289d83f0b34d24bc52eb9b6da (diff)
downloadgitlab-refactor/named-placeholders.tar.gz
refactor: use new-style formatting for named placeholdersrefactor/named-placeholders
Diffstat (limited to 'gitlab/v4/objects/statistics.py')
-rw-r--r--gitlab/v4/objects/statistics.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gitlab/v4/objects/statistics.py b/gitlab/v4/objects/statistics.py
index 5d7c19e..18b2be8 100644
--- a/gitlab/v4/objects/statistics.py
+++ b/gitlab/v4/objects/statistics.py
@@ -18,7 +18,7 @@ class ProjectAdditionalStatistics(RefreshMixin, RESTObject):
class ProjectAdditionalStatisticsManager(GetWithoutIdMixin, RESTManager):
- _path = "/projects/%(project_id)s/statistics"
+ _path = "/projects/{project_id}/statistics"
_obj_cls = ProjectAdditionalStatistics
_from_parent_attrs = {"project_id": "id"}
@@ -37,7 +37,7 @@ class GroupIssuesStatistics(RefreshMixin, RESTObject):
class GroupIssuesStatisticsManager(GetWithoutIdMixin, RESTManager):
- _path = "/groups/%(group_id)s/issues_statistics"
+ _path = "/groups/{group_id}/issues_statistics"
_obj_cls = GroupIssuesStatistics
_from_parent_attrs = {"group_id": "id"}
@@ -47,6 +47,6 @@ class ProjectIssuesStatistics(RefreshMixin, RESTObject):
class ProjectIssuesStatisticsManager(GetWithoutIdMixin, RESTManager):
- _path = "/projects/%(project_id)s/issues_statistics"
+ _path = "/projects/{project_id}/issues_statistics"
_obj_cls = ProjectIssuesStatistics
_from_parent_attrs = {"project_id": "id"}