summaryrefslogtreecommitdiff
path: root/gitlab/const.py
diff options
context:
space:
mode:
authorNejc Habjan <hab.nejc@gmail.com>2021-01-31 19:17:14 +0100
committerJohn Villalovos <john@sodarock.com>2021-09-08 13:45:27 -0700
commit823628153ec813c4490e749e502a47716425c0f1 (patch)
tree86285c732aa5a75c8fd6611535dbf40bcb65b0c7 /gitlab/const.py
parent37424050a00d9b4f46aea9e35d9897478452506d (diff)
downloadgitlab-823628153ec813c4490e749e502a47716425c0f1.tar.gz
feat: default to gitlab.com if no URL given
BREAKING CHANGE: python-gitlab will now default to gitlab.com if no URL is given
Diffstat (limited to 'gitlab/const.py')
-rw-r--r--gitlab/const.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/gitlab/const.py b/gitlab/const.py
index 33687c1..095b43d 100644
--- a/gitlab/const.py
+++ b/gitlab/const.py
@@ -17,6 +17,8 @@
from gitlab.__version__ import __title__, __version__
+DEFAULT_URL: str = "https://gitlab.com"
+
NO_ACCESS: int = 0
MINIMAL_ACCESS: int = 5
GUEST_ACCESS: int = 10