summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects/epics.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/epics.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/epics.py')
-rw-r--r--gitlab/v4/objects/epics.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gitlab/v4/objects/epics.py b/gitlab/v4/objects/epics.py
index 4baa5f3..b42ce98 100644
--- a/gitlab/v4/objects/epics.py
+++ b/gitlab/v4/objects/epics.py
@@ -29,7 +29,7 @@ class GroupEpic(ObjectDeleteMixin, SaveMixin, RESTObject):
class GroupEpicManager(CRUDMixin, RESTManager):
- _path = "/groups/%(group_id)s/epics"
+ _path = "/groups/{group_id}/epics"
_obj_cls = GroupEpic
_from_parent_attrs = {"group_id": "id"}
_list_filters = ("author_id", "labels", "order_by", "sort", "search")
@@ -71,7 +71,7 @@ class GroupEpicIssue(ObjectDeleteMixin, SaveMixin, RESTObject):
class GroupEpicIssueManager(
ListMixin, CreateMixin, UpdateMixin, DeleteMixin, RESTManager
):
- _path = "/groups/%(group_id)s/epics/%(epic_iid)s/issues"
+ _path = "/groups/{group_id}/epics/{epic_iid}/issues"
_obj_cls = GroupEpicIssue
_from_parent_attrs = {"group_id": "group_id", "epic_iid": "iid"}
_create_attrs = RequiredOptional(required=("issue_id",))