FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

group.pushrules.get() should return None not 404. · Issue #2368 · python-gitlab/python-gitlab · GitHub

Repository navigation

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

Description

Description of the problem, including code/CLI snippet

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

Expected Behavior

According to the documentation, if pushrules are missing from a group, the function group.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

Activity

  1. added a commit that references this issue on Nov 8, 2022
    7f851aa
  2. JohnVillalovos commented on Nov 8, 2022

    Member

    Thanks for the report. I have submitted a documentation update for this.

  3. added a commit that references this issue on Nov 8, 2022
    8c33c5b
  4. added a commit that references this issue on Nov 8, 2022
    c3600b4
  5. locked as resolved and limited conversation to collaborators on Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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


      Back | FazBrowse Home | New Git URL