8000 projects.all() returns only 20 projects · Issue #93 · python-gitlab/python-gitlab · GitHub
[go: up one dir, main page]

Skip to content
projects.all() returns only 20 projects #93
Closed
@godmar

Description

@godmar

In issue #53 I had asked how to list all projects. The answer was pagination.
I am now trying the same with the current version of python-gitlab. This time, I am using gl.projects.all() as recommended in the deprecation warning I received with my old code.

However, it seems the code isn't doing any pagination (is it no longer necessary? In Issue #53, you said there's no way to avoid it?

As a result, I'm only getting 20 projects returned.

What's the way to iterate over all projects using python-gitlab?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0