diff options
Diffstat (limited to 'gitlab/v4/objects/merge_request_approvals.py')
-rw-r--r-- | gitlab/v4/objects/merge_request_approvals.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gitlab/v4/objects/merge_request_approvals.py b/gitlab/v4/objects/merge_request_approvals.py index e487322..109d04b 100644 --- a/gitlab/v4/objects/merge_request_approvals.py +++ b/gitlab/v4/objects/merge_request_approvals.py @@ -55,8 +55,8 @@ class ProjectApprovalManager(GetWithoutIdMixin, UpdateMixin, RESTManager): """Change project-level allowed approvers and approver groups. Args: - approver_ids (list): User IDs that can approve MRs - approver_group_ids (list): Group IDs whose members can approve MRs + approver_ids: User IDs that can approve MRs + approver_group_ids: Group IDs whose members can approve MRs Raises: GitlabAuthenticationError: If authentication is not correct @@ -119,7 +119,7 @@ class ProjectMergeRequestApprovalManager(GetWithoutIdMixin, UpdateMixin, RESTMan Args: approvals_required (integer): The number of required approvals for this rule approver_ids (list of integers): User IDs that can approve MRs - approver_group_ids (list): Group IDs whose members can approve MRs + approver_group_ids: Group IDs whose members can approve MRs Raises: GitlabAuthenticationError: If authentication is not correct @@ -211,7 +211,7 @@ class ProjectMergeRequestApprovalRuleManager( """Create a new object. Args: - data (dict): Parameters to send to the server to create the + data: Parameters to send to the server to create the resource **kwargs: Extra options to send to the server (e.g. sudo or 'ref_name', 'stage', 'name', 'all') @@ -221,7 +221,7 @@ class ProjectMergeRequestApprovalRuleManager( GitlabCreateError: If the server cannot perform the request Returns: - RESTObject: A new instance of the manage object class build with + A new instance of the manage object class build with the data sent by the server """ if TYPE_CHECKING: |