diff options
Diffstat (limited to 'gitlab/objects.py')
-rw-r--r-- | gitlab/objects.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gitlab/objects.py b/gitlab/objects.py index 4790712..119671c 100644 --- a/gitlab/objects.py +++ b/gitlab/objects.py @@ -1991,10 +1991,14 @@ class ProjectFileManager(BaseManager): class ProjectPipeline(GitlabObject): _url = '/projects/%(project_id)s/pipelines' - canCreate = False + _create_url = '/projects/%(project_id)s/pipeline' + canUpdate = False canDelete = False + requiredUrlAttrs = ['project_id'] + requiredCreateAttrs = ['ref'] + def retry(self, **kwargs): """Retries failed builds in a pipeline. |