Skip to content

Commit 9961aaa

Browse files
authored
Merge pull request #955 from python-gitlab/fix/snippet-docs
docs(snippets): fix snippet docs
2 parents 267a9a1 + bbaa754 commit 9961aaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/gl_objects/snippets.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Create a snippet::
4444

4545
Update the snippet attributes::
4646

47-
snippet.visibility_level = gitlab.Project.VISIBILITY_PUBLIC
47+
snippet.visibility_level = gitlab.VISIBILITY_PUBLIC
4848
snippet.save()
4949

5050
To update a snippet code you need to create a ``ProjectSnippet`` object::

0 commit comments

Comments
 (0)