Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

int() argument must be a string, a bytes-like object or a real number, not 'NoneType' while accessing pagination related attributes #1686

Closed
Assignees
JohnVillalovos
@VenkatsQuest

Description

@VenkatsQuest

Description of the problem, including code/CLI snippet

Accessing current_page , per_page , total , total_pages attributes , throwing the following error.
int() argument must be a string, a bytes-like object or a real number, not 'NoneType'

  gl = gitlab.Gitlab('https://gitlab.com/', private_token=developer_access_token,                       pagination="keyset", order_by="id",                       per_page=100)    iterator_projects = gl.projects.list(as_list=False, owned=True)

Expected Behavior

It should return the number of pages expected

Actual Behavior

throwing exceptions.

Specifications

  • python-gitlab version:2.10.1
  • API version you are using (v3/v4): v4
  • Gitlab server version (or gitlab.com):gitlab.com

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp