summaryrefslogtreecommitdiff
path: root/gitlab/objects.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/objects.py')
-rw-r--r--gitlab/objects.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/gitlab/objects.py b/gitlab/objects.py
index 1827595..6f2fac0 100644
--- a/gitlab/objects.py
+++ b/gitlab/objects.py
@@ -1580,6 +1580,10 @@ class Project(GitlabObject):
('variables', ProjectVariableManager, [('project_id', 'id')]),
]
+ VISIBILITY_PRIVATE = 0
+ VISIBILITY_INTERNAL = 10
+ VISIBILITY_PUBLIC = 20
+
def Branch(self, id=None, **kwargs):
warnings.warn("`Branch` is deprecated, use `branches` instead",
DeprecationWarning)