summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects/pipelines.py
diff options
context:
space:
mode:
authorNejc Habjan <hab.nejc@gmail.com>2021-02-26 20:28:54 +0100
committerNejc Habjan <hab.nejc@gmail.com>2021-02-26 20:34:59 +0100
commitf12841fd5bd88f879906386655620c5d0c592470 (patch)
tree8b62a79be239d56d5358d3bef04ebe80385f7e53 /gitlab/v4/objects/pipelines.py
parentdba828b9cfca03f6d339329f9b7d49878cf9e11a (diff)
downloadgitlab-feat/mr-pipeline-manager.tar.gz
chore(api): make class names consistent in MR resourcesfeat/mr-pipeline-manager
Diffstat (limited to 'gitlab/v4/objects/pipelines.py')
-rw-r--r--gitlab/v4/objects/pipelines.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/gitlab/v4/objects/pipelines.py b/gitlab/v4/objects/pipelines.py
index 8024ad1..cb12d8e 100644
--- a/gitlab/v4/objects/pipelines.py
+++ b/gitlab/v4/objects/pipelines.py
@@ -17,8 +17,8 @@ from gitlab.mixins import (
__all__ = [
- "MergeRequestPipeline",
- "MergeRequestPipelineManager",
+ "ProjectMergeRequestPipeline",
+ "ProjectMergeRequestPipelineManager",
"ProjectPipeline",
"ProjectPipelineManager",
"ProjectPipelineJob",
@@ -34,13 +34,13 @@ __all__ = [
]
-class MergeRequestPipeline(RESTObject):
+class ProjectMergeRequestPipeline(RESTObject):
pass
-class MergeRequestPipelineManager(CreateMixin, ListMixin, RESTManager):
+class ProjectMergeRequestPipelineManager(CreateMixin, ListMixin, RESTManager):
_path = "/projects/%(project_id)s/merge_requests/%(mr_iid)s/pipelines"
- _obj_cls = MergeRequestPipeline
+ _obj_cls = ProjectMergeRequestPipeline
_from_parent_attrs = {"project_id": "project_id", "mr_iid": "iid"}
_create_attrs = (tuple(), tuple())