tasks/libs/common/gitlab.py
def edit_pipeline_schedule(
        self, schedule_id, description=None, ref=None, cron=None, cron_timezone=None, active=None
    ):
        """
        Edit an existing pipeline schedule with given attributes.
        """
        path = f"/projects/{quote(self.project_name, safe='')}/pipeline_schedules/{schedule_id}"
        data = {
            "description": description,
            "ref": ref,
            "cron": cron,
            "cron_timezone": cron_timezone,
            "active": active,
        }
        no_none_data = {k: v for k, v in data.items() if v is not None}
        return self.make_request(path, json_input=True, json_output=True, data=no_none_data, method="PUT")

        Edit an existing pipeline schedule with given attributes.
        
Edit an existing pipeline schedule with given attributes.
Edit an existing pipeline schedule with given attributes .
def edit_pipeline_schedule(
        self, schedule_id, description=None, ref=None, cron=None, cron_timezone=None, active=None
    ):
        path = f"/projects/{quote(self.project_name, safe='')}/pipeline_schedules/{schedule_id}"
        data = {
            "description": description,
            "ref": ref,
            "cron": cron,
            "cron_timezone": cron_timezone,
            "active": active,
        }
        no_none_data = {k: v for k, v in data.items() if v is not None}
        return self.make_request(path, json_input=True, json_output=True, data=no_none_data, method="PUT")
def edit_pipeline_schedule ( self , schedule_id , description = None , ref = None , cron = None , cron_timezone = None , active = None ) : path = f"/projects/{quote(self.project_name, safe='')}/pipeline_schedules/{schedule_id}" data = { "description" : description , "ref" : ref , "cron" : cron , "cron_timezone" : cron_timezone , "active" : active , } no_none_data = { k : v for k , v in data . items ( ) if v is not None } return self . make_request ( path , json_input = True , json_output = True , data = no_none_data , method = "PUT" )
Edit an existing pipeline schedule with given attributes.
Edit an existing pipeline schedule with given attributes .
"""
        Edit an existing pipeline schedule with given attributes.
        """
self
schedule_id
description
ref
cron
cron_timezone
active