Skip to content

Scope "bug" #806

Closed
Closed
@romansvozil

Description

@romansvozil

Description of the problem, including code/CLI snippet

    for job in project.jobs.list(scope=['success', 'failed']):
        print(job.attributes['status'])

It returns jobs of only last scope.
Does python-gitlab api supports multiple scope statement for finding jobs? Because gitlap api yes

Expected Behavior

something like:
success
success
success
failed
success

Actual Behavior

failed
failed
failed

Specifications

  • python-gitlab version:1.8.0
  • API version you are using (v3/v4): v4

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions