Skip to content

Listing all files from repository fails because of pagination #314

@tomascapek

Description

@tomascapek

I was trying to list all files on given branch in given repository using gitlab.v4.objects.Project.repository_tree(path, branch_name, all = True), but result was truncated, because of Gitlab pagination.

From your docs, I thought, that all = True should work on any type of "request". I looked into the code and find out, that this isn't implemented.

Should this be implemented in your package or am I approaching this task in a wrong way?

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