summaryrefslogtreecommitdiff
path: root/gitlab/const.py
diff options
context:
space:
mode:
authorNejc Habjan <hab.nejc@gmail.com>2021-09-08 23:42:05 +0200
committerNejc Habjan <hab.nejc@gmail.com>2021-09-11 12:02:17 +0200
commitb8d379d5be016081992c06312d7d4790a5d52bfb (patch)
tree6f62a35e235c28b3a289f26c59e0ffbb2d6a619b /gitlab/const.py
parent2b8a94a77ba903ae97228e7ffa3cc2bf6ceb19ba (diff)
downloadgitlab-refactor/consts-in-const-module.tar.gz
refactor(objects): remove deprecated constants defined in objectsrefactor/consts-in-const-module
BREAKING CHANGE: remove deprecated constants defined in gitlab.v4.objects, and use only gitlab.const module
Diffstat (limited to 'gitlab/const.py')
-rw-r--r--gitlab/const.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/gitlab/const.py b/gitlab/const.py
index 095b43d..c57423e 100644
--- a/gitlab/const.py
+++ b/gitlab/const.py
@@ -25,12 +25,11 @@ GUEST_ACCESS: int = 10
REPORTER_ACCESS: int = 20
DEVELOPER_ACCESS: int = 30
MAINTAINER_ACCESS: int = 40
-MASTER_ACCESS: int = MAINTAINER_ACCESS
OWNER_ACCESS: int = 50
-VISIBILITY_PRIVATE: int = 0
-VISIBILITY_INTERNAL: int = 10
-VISIBILITY_PUBLIC: int = 20
+VISIBILITY_PRIVATE: str = "private"
+VISIBILITY_INTERNAL: str = "internal"
+VISIBILITY_PUBLIC: str = "public"
NOTIFICATION_LEVEL_DISABLED: str = "disabled"
NOTIFICATION_LEVEL_PARTICIPATING: str = "participating"