FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(mixins): improve deprecation warning · python-gitlab/python-gitlab@57e0187 · GitHub

Repository navigation

Commit 57e0187

Browse files
authored
fix(mixins): improve deprecation warning
Also note what should be changed
1 parent 4782678 commit 57e0187

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎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)

Back | FazBrowse Home | New Git URL