Skip to content

Commit

Permalink
Remove pipeline schedules from v3 (not supported)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gauvain Pocentek committed Feb 5, 2018
1 parent 39a0429 commit 0a06779
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions gitlab/v3/objects.py
Expand Up @@ -1496,18 +1496,6 @@ class ProjectFileManager(BaseManager):
obj_cls = ProjectFile


class ProjectPipelineSchedule(GitlabObject):
_url = '/projects/%(project_id)s/pipeline_schedules'
_create_url = '/projects/%(project_id)s/pipeline_schedules'

requiredUrlAttrs = ['project_id']
requiredCreateAttrs = ['description', 'ref', 'cron']


class ProjectPipelineSchedulesManager(BaseManager):
obj_cls = ProjectPipelineSchedule


class ProjectPipeline(GitlabObject):
_url = '/projects/%(project_id)s/pipelines'
_create_url = '/projects/%(project_id)s/pipeline'
Expand Down Expand Up @@ -1815,7 +1803,6 @@ class Project(GitlabObject):
('notificationsettings', 'ProjectNotificationSettingsManager',
[('project_id', 'id')]),
('pipelines', 'ProjectPipelineManager', [('project_id', 'id')]),
('pipeline_schedules', 'ProjectPipelineSchedulesManager', [('project_id', 'id')]),
('runners', 'ProjectRunnerManager', [('project_id', 'id')]),
('services', 'ProjectServiceManager', [('project_id', 'id')]),
('snippets', 'ProjectSnippetManager', [('project_id', 'id')]),
Expand Down

0 comments on commit 0a06779

Please sign in to comment.