summaryrefslogtreecommitdiff
path: root/gitlab/v4/objects
diff options
context:
space:
mode:
authorNejc Habjan <hab.nejc@gmail.com>2021-09-08 23:42:05 +0200
committerJohn Villalovos <john@sodarock.com>2021-09-11 07:14:46 -0700
commit3f320af347df05bba9c4d0d3bdb714f7b0f7b9bf (patch)
tree6f62a35e235c28b3a289f26c59e0ffbb2d6a619b /gitlab/v4/objects
parent2b8a94a77ba903ae97228e7ffa3cc2bf6ceb19ba (diff)
downloadgitlab-3f320af347df05bba9c4d0d3bdb714f7b0f7b9bf.tar.gz
refactor(objects): remove deprecated constants defined in objects
BREAKING CHANGE: remove deprecated constants defined in gitlab.v4.objects, and use only gitlab.const module
Diffstat (limited to 'gitlab/v4/objects')
-rw-r--r--gitlab/v4/objects/__init__.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/gitlab/v4/objects/__init__.py b/gitlab/v4/objects/__init__.py
index 1b95410..c2ff4fb 100644
--- a/gitlab/v4/objects/__init__.py
+++ b/gitlab/v4/objects/__init__.py
@@ -74,15 +74,4 @@ from .users import *
from .variables import *
from .wikis import *
-# TODO: deprecate these in favor of gitlab.const.*
-VISIBILITY_PRIVATE = "private"
-VISIBILITY_INTERNAL = "internal"
-VISIBILITY_PUBLIC = "public"
-
-ACCESS_GUEST = 10
-ACCESS_REPORTER = 20
-ACCESS_DEVELOPER = 30
-ACCESS_MASTER = 40
-ACCESS_OWNER = 50
-
__all__ = [name for name in dir() if not name.startswith("_")]