From 3f320af347df05bba9c4d0d3bdb714f7b0f7b9bf Mon Sep 17 00:00:00 2001 From: Nejc Habjan Date: Wed, 8 Sep 2021 23:42:05 +0200 Subject: refactor(objects): remove deprecated constants defined in objects BREAKING CHANGE: remove deprecated constants defined in gitlab.v4.objects, and use only gitlab.const module --- gitlab/const.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'gitlab/const.py') 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" -- cgit v1.2.1