Skip to content

Commit e2fdfbb

Browse files
authored
Merge pull request #1571 from python-gitlab/fix-mixings-improve-deprecation-warning
fix(mixins): improve deprecation warning
2 parents 4782678 + 57e0187 commit e2fdfbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitlab/mixins.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -965,7 +965,7 @@ def all(self, **kwargs: Any) -> List[base.RESTObject]:
965965

966966
warnings.warn(
967967
"The all() method for this object is deprecated "
968-
"and will be removed in a future version.",
968+
"and will be removed in a future version. Use .members_all.list(all=True), instead.",
969969
DeprecationWarning,
970970
)
971971
path = "%s/all" % self.path

0 commit comments

Comments
 (0)