summaryrefslogtreecommitdiff
path: root/gitlab/mixins.py
diff options
context:
space:
mode:
authorMax Wittig <max.wittig@siemens.com>2021-08-13 13:38:15 +0200
committerGitHub <noreply@github.com>2021-08-13 13:38:15 +0200
commit57e018772492a8522b37d438d722c643594cf580 (patch)
treefc6ab9ae625df2d5173564dab241b9eb126940f4 /gitlab/mixins.py
parent47826789a5f885a87ae139b8c4d8da9d2dacf713 (diff)
downloadgitlab-57e018772492a8522b37d438d722c643594cf580.tar.gz
fix(mixins): improve deprecation warning
Also note what should be changed
Diffstat (limited to 'gitlab/mixins.py')
-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