summaryrefslogtreecommitdiff
path: root/gitlab/const.py
diff options
context:
space:
mode:
authorValentin Grégoire <32612304+valentingregoire@users.noreply.github.com>2023-02-01 17:58:28 +0100
committerGitHub <noreply@github.com>2023-02-01 17:58:28 +0100
commit3cfd3903757bf61386972a18f3225665145324eb (patch)
tree0c5ef9c929db30986b32fc5814ae7bda18446d12 /gitlab/const.py
parentee5f444b16e4d2f645499ac06f5d81f22867f050 (diff)
parenta208276c83006ddddfbd38bc46883af078e6b215 (diff)
downloadgitlab-3cfd3903757bf61386972a18f3225665145324eb.tar.gz
Merge branch 'main' into typos
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 1dab752..5d3602b 100644
--- a/gitlab/const.py
+++ b/gitlab/const.py
@@ -131,6 +131,8 @@ SEARCH_SCOPE_PROJECT_NOTES = SearchScope.PROJECT_NOTES.value
USER_AGENT: str = f"{__title__}/{__version__}"
+RETRYABLE_TRANSIENT_ERROR_CODES = [500, 502, 503, 504] + list(range(520, 531))
+
__all__ = [
"AccessLevel",
"Visibility",