summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNejc Habjan <hab.nejc@gmail.com>2021-08-13 16:33:46 +0200
committerGitHub <noreply@github.com>2021-08-13 16:33:46 +0200
commite2fdfbb02516360d56d3b7a88a3ef245faf37941 (patch)
treefc6ab9ae625df2d5173564dab241b9eb126940f4
parent47826789a5f885a87ae139b8c4d8da9d2dacf713 (diff)
parent57e018772492a8522b37d438d722c643594cf580 (diff)
downloadgitlab-e2fdfbb02516360d56d3b7a88a3ef245faf37941.tar.gz
Merge pull request #1571 from python-gitlab/fix-mixings-improve-deprecation-warning
fix(mixins): improve deprecation warning
-rw-r--r--gitlab/mixins.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/mixins.py b/gitlab/mixins.py
index 3dae155..f35c134 100644
--- a/gitlab/mixins.py
+++ b/gitlab/mixins.py
@@ -965,7 +965,7 @@ class MemberAllMixin(_RestManagerBase):
warnings.warn(
"The all() method for this object is deprecated "
- "and will be removed in a future version.",
+ "and will be removed in a future version. Use .members_all.list(all=True), instead.",
DeprecationWarning,
)
path = "%s/all" % self.path