We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API does not support getting commits for merge request (or documentation hasn't been updated)
see: https://docs.gitlab.com/ce/api/merge_requests.html#get-single-mr-commits
project.commits() should return a list of commits
project.commits()
Not defined in docs
v4 (and v3?)
The text was updated successfully, but these errors were encountered:
Hi @rollie42
This is implemented, you can use the commits() method on ProjectMergeRequest objects: https://github.com/python-gitlab/python-gitlab/blob/master/gitlab/v4/objects.py#L1561-L1587
commits()
ProjectMergeRequest
This is documented in the v4 API: http://python-gitlab.readthedocs.io/en/stable/api/gitlab.v4.html#gitlab.v4.objects.ProjectMergeRequest.commits but I'll add an example.
Sorry, something went wrong.
037585c
No branches or pull requests
Description of the problem, including code/CLI snippet
API does not support getting commits for merge request (or documentation hasn't been updated)
see: https://docs.gitlab.com/ce/api/merge_requests.html#get-single-mr-commits
Expected Behavior
project.commits()
should return a list of commitsActual Behavior
Not defined in docs
Specifications
v4 (and v3?)
The text was updated successfully, but these errors were encountered: