Skip to content

Commit

Permalink
Merge pull request #1566 from Psycojoker/doc/mergequest_list_misslead…
Browse files Browse the repository at this point in the history
…ing_doc

docs(mergerequests): gl.mergerequests.list documentation was misleading
  • Loading branch information
nejch committed Aug 22, 2021
2 parents e2fdfbb + 5b5a7bc commit 8e27721
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/gl_objects/mrs.rst
Expand Up @@ -30,10 +30,14 @@ Reference
Examples
--------

List the merge requests available on the GitLab server::
List the merge requests created by the user of the token on the GitLab server::

mrs = gl.mergerequests.list()

List the merge requests available on the GitLab server::

mrs = gl.mergerequests.list(scope="all")

List the merge requests for a group::

group = gl.groups.get('mygroup')
Expand Down

0 comments on commit 8e27721

Please sign in to comment.