Skip to content

ProjectPipelineJob seems to be broken in 1.5.0 #537

Closed
@rokroskar

Description

@rokroskar

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions