Visitar URL original
Scope "bug" · Issue #806 · python-gitlab/python-gitlab · GitHub
Skip to content

Scope "bug" #806

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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