We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 267a9a1 commit bbaa754Copy full SHA for bbaa754
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