diff options
Diffstat (limited to 'gitlab/v4/objects/environments.py')
-rw-r--r-- | gitlab/v4/objects/environments.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/v4/objects/environments.py b/gitlab/v4/objects/environments.py index 67787b0..6eec069 100644 --- a/gitlab/v4/objects/environments.py +++ b/gitlab/v4/objects/environments.py @@ -43,7 +43,7 @@ class ProjectEnvironment(SaveMixin, ObjectDeleteMixin, RESTObject): class ProjectEnvironmentManager( RetrieveMixin, CreateMixin, UpdateMixin, DeleteMixin, RESTManager ): - _path = "/projects/%(project_id)s/environments" + _path = "/projects/{project_id}/environments" _obj_cls = ProjectEnvironment _from_parent_attrs = {"project_id": "id"} _create_attrs = RequiredOptional(required=("name",), optional=("external_url",)) |