diff options
| -rw-r--r-- | README.rst | 2 | ||||
| -rw-r--r-- | docs/gl_objects/mrs.rst | 2 | ||||
| -rw-r--r-- | docs/gl_objects/snippets.rst | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -57,7 +57,7 @@ How to use or run it directly from the upstream image: -``docker run -it --rm -e GITLAB_PRIVATE_TOKEN=<your token> -v /path/to/python-gitlab.cfg:/python-gitlab.cfg registry.gitlab.com/python-gitlab/python-gitlab:v1.8.0 <command> ...`` +``docker run -it --rm -e GITLAB_PRIVATE_TOKEN=<your token> -v /path/to/python-gitlab.cfg:/python-gitlab.cfg registry.gitlab.com/python-gitlab/python-gitlab:latest <command> ...`` To change the GitLab URL, use `-e GITLAB_URL=<your url>` diff --git a/docs/gl_objects/mrs.rst b/docs/gl_objects/mrs.rst index a3e3fa0..be93f12 100644 --- a/docs/gl_objects/mrs.rst +++ b/docs/gl_objects/mrs.rst @@ -23,7 +23,7 @@ Reference + :attr:`gitlab.v4.objects.Group.mergerequests` + :class:`gitlab.v4.objects.MergeRequest` + :class:`gitlab.v4.objects.MergeRequestManager` - + :attr:`gitlab.Gtilab.mergerequests` + + :attr:`gitlab.Gitlab.mergerequests` * GitLab API: https://docs.gitlab.com/ce/api/merge_requests.html diff --git a/docs/gl_objects/snippets.rst b/docs/gl_objects/snippets.rst index fb22594..1bedb07 100644 --- a/docs/gl_objects/snippets.rst +++ b/docs/gl_objects/snippets.rst @@ -44,7 +44,7 @@ Create a snippet:: Update the snippet attributes:: - snippet.visibility_level = gitlab.Project.VISIBILITY_PUBLIC + snippet.visibility_level = gitlab.VISIBILITY_PUBLIC snippet.save() To update a snippet code you need to create a ``ProjectSnippet`` object:: |
