Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(api): add reviewer_details manager for mergrequest to get review…
…ers of merge request Those changes implements 'GET /projects/:id/merge_requests/:merge_request_iid/reviewers' gitlab API call. Naming for call is not reviewers because reviewers atribute already presen in merge request response
- Loading branch information
Showing
5 changed files
with
85 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
from gitlab.base import RESTManager, RESTObject | ||
from gitlab.mixins import ListMixin | ||
|
||
__all__ = [ | ||
"ProjectMergeRequestReviewerDetail", | ||
"ProjectMergeRequestReviewerDetailManager", | ||
] | ||
|
||
|
||
class ProjectMergeRequestReviewerDetail(RESTObject): | ||
pass | ||
|
||
|
||
class ProjectMergeRequestReviewerDetailManager(ListMixin, RESTManager): | ||
_path = "/projects/{project_id}/merge_requests/{mr_iid}/reviewers" | ||
_obj_cls = ProjectMergeRequestReviewerDetail | ||
_from_parent_attrs = {"project_id": "project_id", "mr_iid": "iid"} |
This file contains 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