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

group.pushrules.get() should return None not 404. #2368

Closed
Labels
@dreaquil

Description

@dreaquil

Description of the problem, including code/CLI snippet

According to the documentation, if pushrules are missing from a group, the functiongroup.pushrules.get() should return None.

Expected Behavior

According to the documentation, if pushrules are missing from a group, the functiongroup.pushrules.get() should return None.

Actual Behavior

It is raising the following error:

gitlab.exceptions.GitlabHttpError: 404: 404 Not Found

Specifications

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

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


      [8]ページ先頭

      ©2009-2025 Movatter.jp