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

Broken hash for ProjectIssue and ProjectMergeRequest across multiple projects. #935

Open
Labels
@ffranr

Description

@ffranr

Description of the problem, including code/CLI snippet

Adding multiple ProjectIssue instances from different projects into a set can result in missing elements.

Expected Behavior

The set should contain all unique issues.

Actual Behavior

Some issues are missing from the set.

Specifications

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

iid has project scope, not group scope. It is used as the hashing key:

I think the hashing key should include more data from the issue. Perhaps justid will do. A similar problem exists for the ProjectIssue equality magic method.

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