Closed
Description
Description of the problem, including code/CLI snippet
pipeline = proj.pipelines.list()[0]
for job in pipeline.jobs.list(): print(job.attributes)
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-32-527712123652> in <module>()
----> 1 for job in pipeline.jobs.list(): print(job.attributes)
AttributeError: 'ProjectPipelineJob' object has no attribute 'attributes'
Expected Behavior
To get the attributes
of the pipeline job. This is the behavior in 1.4.0.
Actual Behavior
--> AttributeError
In fact, none of the expected class instance members are there.
Specifications
- python-gitlab version: 1.5.0
- API version you are using (v3/v4): v4
- Gitlab server version (or gitlab.com): 10.8.3 (564c342)
Metadata
Metadata
Assignees
Labels
No labels