Skip to content

Commit 0a06779

Browse files
author
Gauvain Pocentek
committed
Remove pipeline schedules from v3 (not supported)
1 parent 39a0429 commit 0a06779

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

gitlab/v3/objects.py

-13
Original file line numberDiff line numberDiff line change
@@ -1496,18 +1496,6 @@ class ProjectFileManager(BaseManager):
14961496
obj_cls = ProjectFile
14971497

14981498

1499-
class ProjectPipelineSchedule(GitlabObject):
1500-
_url = '/projects/%(project_id)s/pipeline_schedules'
1501-
_create_url = '/projects/%(project_id)s/pipeline_schedules'
1502-
1503-
requiredUrlAttrs = ['project_id']
1504-
requiredCreateAttrs = ['description', 'ref', 'cron']
1505-
1506-
1507-
class ProjectPipelineSchedulesManager(BaseManager):
1508-
obj_cls = ProjectPipelineSchedule
1509-
1510-
15111499
class ProjectPipeline(GitlabObject):
15121500
_url = '/projects/%(project_id)s/pipelines'
15131501
_create_url = '/projects/%(project_id)s/pipeline'
@@ -1815,7 +1803,6 @@ class Project(GitlabObject):
18151803
('notificationsettings', 'ProjectNotificationSettingsManager',
18161804
[('project_id', 'id')]),
18171805
('pipelines', 'ProjectPipelineManager', [('project_id', 'id')]),
1818-
('pipeline_schedules', 'ProjectPipelineSchedulesManager', [('project_id', 'id')]),
18191806
('runners', 'ProjectRunnerManager', [('project_id', 'id')]),
18201807
('services', 'ProjectServiceManager', [('project_id', 'id')]),
18211808
('snippets', 'ProjectSnippetManager', [('project_id', 'id')]),

0 commit comments

Comments
 (0)