You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description of the problem, including code/CLI snippet
project-merge-request-approval-state requires 3 arguments, --project-id, --mr-iid, and --id, whereas the corresponding endpoint of the API requires project-id and mr-iid. When providing any value in the --id field, the CLI raises an error:
Impossible to get object (gitlab.v4.objects.merge_request_approvals.ProjectMergeRequestApprovalStateManager.get() got multiple values for keyword argument 'id')
Expected Behavior
$ gitlab project-merge-request-approval-state get --project-id 1 --mr-iid 2
<response>
Actual Behavior
$ gitlab project-merge-request-approval-state get --project-id 1 --mr-iid 2
usage: gitlab project-merge-request-approval-state get [-h] [--sudo SUDO] --project-id PROJECT_ID --mr-iid MR_IID --id ID
gitlab project-merge-request-approval-state get: error: the following arguments are required: --id
$ gitlab project-merge-request-approval-state get --project-id 1 --mr-iid 2 --id 1
Impossible to get object (gitlab.v4.objects.merge_request_approvals.ProjectMergeRequestApprovalStateManager.get() got multiple values for keyword argument 'id')
Specifications
python-gitlab version: 4.4.0
API version you are using (v3/v4): v4
Gitlab server version (or gitlab.com): NA
The text was updated successfully, but these errors were encountered:
Description of the problem, including code/CLI snippet
project-merge-request-approval-state
requires 3 arguments,--project-id
,--mr-iid
, and--id
, whereas the corresponding endpoint of the API requiresproject-id
andmr-iid
. When providing any value in the--id
field, the CLI raises an error:Expected Behavior
Actual Behavior
Specifications
The text was updated successfully, but these errors were encountered: