a *Na!@sddlZddlmZddlmZddlmZmZmZddl m Z m Z m Z m Z mZmZmZmZmZmZgdZGdddeZGd d d e eeZGd d d eeeZGd ddee e eZGdddeZGdddeeZGdddeZGdddeeZGdddeZGdddeeZGdddeeeZGddde ee eZ Gdd d eeeZ!Gd!d"d"e eZ"Gd#d$d$eZ#Gd%d&d&e eZ$dS)'N)cli) exceptions)RequiredOptional RESTManager RESTObject) CreateMixin CRUDMixin DeleteMixinGetWithoutIdMixin ListMixinObjectDeleteMixin RefreshMixin RetrieveMixin SaveMixin UpdateMixin)ProjectMergeRequestPipeline"ProjectMergeRequestPipelineManagerProjectPipelineProjectPipelineManagerProjectPipelineJobProjectPipelineJobManagerProjectPipelineBridgeProjectPipelineBridgeManagerProjectPipelineVariableProjectPipelineVariableManagerProjectPipelineScheduleVariable&ProjectPipelineScheduleVariableManagerProjectPipelineScheduleProjectPipelineScheduleManagerProjectPipelineTestReport ProjectPipelineTestReportManagerc@s eZdZdS)rN__name__ __module__ __qualname__r%r%v/private/var/folders/js/6pj4vh5d4zd0k6bxv74qrbhr0000gr/T/pip-target-22xwyzbs/lib/python/gitlab/v4/objects/pipelines.pyr'src@s@eZdZdZeZdddZejddde e j dd Z d S) rzZGitlabPipelineRetryErrorr?r%r%r%r&rLs   rc@s2eZdZdZeZddiZdZeddZ ddZ d S) rz"/projects/%(project_id)s/pipelinesr'id) scopestatusrefshaZ yaml_errorsnameusernameZorder_bysort)rDrequiredcKs&|jdd}tj||fd|i|S)a Creates a new object. Args: data (dict): Parameters to send to the server to create the resource **kwargs: Extra options to send to the server (e.g. sudo) Raises: GitlabAuthenticationError: If authentication is not correct GitlabCreateError: If the server cannot perform the request Returns: RESTObject: A new instance of the managed object class build with the data sent by the server Nr9)r9rcreate)r,datar-r9r%r%r&rLszProjectPipelineManager.createN) r"r#r$r/rr0r1 _list_filtersr _create_attrsrLr%r%r%r&rss  rc@s eZdZdS)rNr!r%r%r%r&rsrc@s"eZdZdZeZdddZdZdS)rz7/projects/%(project_id)s/pipelines/%(pipeline_id)s/jobsr'rAr'Z pipeline_id)rBZinclude_retriedN)r"r#r$r/rr0r1rNr%r%r%r&rs rc@s eZdZdS)rNr!r%r%r%r&rsrc@s"eZdZdZeZdddZdZdS)rz:/projects/%(project_id)s/pipelines/%(pipeline_id)s/bridgesr'rArP)rBN)r"r#r$r/rr0r1rNr%r%r%r&rs rc@seZdZdZdS)rkeyNr"r#r$Z_id_attrr%r%r%r&rsrc@seZdZdZeZdddZdS)rz/projects/%(project_id)s/pipelines/%(pipeline_id)s/test_reportr'rArPN)r"r#r$r/rr0r1r%r%r%r&r sr )%r(r;rrr3Z gitlab.baserrrZ gitlab.mixinsrrr r r r r rrr__all__rrrrrrrrrrrrrrrr r%r%r%r&s.  0 !'%  &