Skip to content

Scope "bug" #806

@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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy