From 754022c906ffa49f20316995ffccbd2c0ea39b81 Mon Sep 17 00:00:00 2001 From: Massimiliano Riva Date: Fri, 18 Jul 2025 15:31:44 +0200 Subject: [PATCH 1/2] feat(api): add ListMixin to ProjectMergeRequestDiscussionNoteManager Closes: #3180 --- gitlab/v4/objects/notes.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gitlab/v4/objects/notes.py b/gitlab/v4/objects/notes.py index f104c3f5d..56568d273 100644 --- a/gitlab/v4/objects/notes.py +++ b/gitlab/v4/objects/notes.py @@ -164,10 +164,7 @@ class ProjectMergeRequestDiscussionNote(SaveMixin, ObjectDeleteMixin, RESTObject class ProjectMergeRequestDiscussionNoteManager( - GetMixin[ProjectMergeRequestDiscussionNote], - CreateMixin[ProjectMergeRequestDiscussionNote], - UpdateMixin[ProjectMergeRequestDiscussionNote], - DeleteMixin[ProjectMergeRequestDiscussionNote], + CRUDMixin[ProjectMergeRequestDiscussionNote] ): _path = ( "/projects/{project_id}/merge_requests/{mr_iid}/" From 91dc47a79772e4f1b089c10a2748ad6b8194bbd3 Mon Sep 17 00:00:00 2001 From: Massimiliano Riva Date: Fri, 18 Jul 2025 15:52:52 +0200 Subject: [PATCH 2/2] feat(api): add ListMixin to ProjectIssueDiscussionNoteManager --- gitlab/v4/objects/notes.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/gitlab/v4/objects/notes.py b/gitlab/v4/objects/notes.py index 56568d273..3e83d9be1 100644 --- a/gitlab/v4/objects/notes.py +++ b/gitlab/v4/objects/notes.py @@ -128,12 +128,7 @@ class ProjectIssueDiscussionNote(SaveMixin, ObjectDeleteMixin, RESTObject): pass -class ProjectIssueDiscussionNoteManager( - GetMixin[ProjectIssueDiscussionNote], - CreateMixin[ProjectIssueDiscussionNote], - UpdateMixin[ProjectIssueDiscussionNote], - DeleteMixin[ProjectIssueDiscussionNote], -): +class ProjectIssueDiscussionNoteManager(CRUDMixin[ProjectIssueDiscussionNote]): _path = ( "/projects/{project_id}/issues/{issue_iid}/discussions/{discussion_id}/notes" ) pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy