diff options
author | Nejc Habjan <hab.nejc@gmail.com> | 2021-11-05 21:01:58 +0100 |
---|---|---|
committer | Nejc Habjan <hab.nejc@gmail.com> | 2021-11-08 19:10:46 +0100 |
commit | 444a7f76f287996ae10fa9e6d800399feb698659 (patch) | |
tree | f18d6795990bba2e4f1389fa75055d14b995e18f /gitlab/v4/objects/triggers.py | |
parent | 472b300154c5e59289d83f0b34d24bc52eb9b6da (diff) | |
download | gitlab-refactor/named-placeholders.tar.gz |
refactor: use new-style formatting for named placeholdersrefactor/named-placeholders
Diffstat (limited to 'gitlab/v4/objects/triggers.py')
-rw-r--r-- | gitlab/v4/objects/triggers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/v4/objects/triggers.py b/gitlab/v4/objects/triggers.py index 6ff2517..e75be13 100644 --- a/gitlab/v4/objects/triggers.py +++ b/gitlab/v4/objects/triggers.py @@ -14,7 +14,7 @@ class ProjectTrigger(SaveMixin, ObjectDeleteMixin, RESTObject): class ProjectTriggerManager(CRUDMixin, RESTManager): - _path = "/projects/%(project_id)s/triggers" + _path = "/projects/{project_id}/triggers" _obj_cls = ProjectTrigger _from_parent_attrs = {"project_id": "id"} _create_attrs = RequiredOptional(required=("description",)) |