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

Update notes api for ProjectIssueDiscussionNoteManager and ProjectMergeRequestDiscussionNoteManager by massimiliano96 · Pull Request #3233 · python-gitlab/python-gitlab · GitHub

Repository navigation

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .py  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
12 changes: 2 additions & 10 deletions gitlab/v4/objects/notes.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,7 @@ class ProjectIssueDiscussionNote(SaveMixin, ObjectDeleteMixin, RESTObject):
pass


class ProjectIssueDiscussionNoteManager(
GetMixin[ProjectIssueDiscussionNote],
CreateMixin[ProjectIssueDiscussionNote],
UpdateMixin[ProjectIssueDiscussionNote],
DeleteMixin[ProjectIssueDiscussionNote],
):
class ProjectIssueDiscussionNoteManager(CRUDMixin[ProjectIssueDiscussionNote]):
Comment thread
JohnVillalovos marked this conversation as resolved.
_path = (
"/projects/{project_id}/issues/{issue_iid}/discussions/{discussion_id}/notes"
)
Expand Down Expand Up @@ -164,10 +159,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}/"
Expand Down

Back | FazBrowse Home | New Git URL