There was an error while loading. Please reload this page.
2 parents 267a9a1 + bbaa754 commit 9961aaaCopy full SHA for 9961aaa
1 file changed
docs/gl_objects/snippets.rst
@@ -44,7 +44,7 @@ Create a snippet::
44
45
Update the snippet attributes::
46
47
- snippet.visibility_level = gitlab.Project.VISIBILITY_PUBLIC
+ snippet.visibility_level = gitlab.VISIBILITY_PUBLIC
48
snippet.save()
49
50
To update a snippet code you need to create a ``ProjectSnippet`` object::
0 commit comments