tasks/libs/common/gitlab.py
def create_pipeline_schedule(self, description, ref, cron, cron_timezone=None, active=None):
        """
        Create a new pipeline schedule with given attributes.
        """
        path = f"/projects/{quote(self.project_name, safe='')}/pipeline_schedules"
        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, data=no_none_data, json_output=True, json_input=True)

        Create a new pipeline schedule with given attributes.
        
Create a new pipeline schedule with given attributes.
Create a new pipeline schedule with given attributes .
def create_pipeline_schedule(self, description, ref, cron, cron_timezone=None, active=None):
        path = f"/projects/{quote(self.project_name, safe='')}/pipeline_schedules"
        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, data=no_none_data, json_output=True, json_input=True)
def create_pipeline_schedule ( self , description , ref , cron , cron_timezone = None , active = None ) : path = f"/projects/{quote(self.project_name, safe='')}/pipeline_schedules" 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 , data = no_none_data , json_output = True , json_input = True )
Create a new pipeline schedule with given attributes.
Create a new pipeline schedule with given attributes .
"""
        Create a new pipeline schedule with given attributes.
        """
self
description
ref
cron
cron_timezone
active