Open
Description
Description of the problem, including code/CLI snippet
from gitlab import Gitlab
project = Gitlab("https://gitlab.gnome.org").projects.get(456)
mr = project.mergerequests.get(3680)
discussion = mr.discussions.list()[0]
notes = discussion.notes.list()
Expected Behavior
This returns a list of notes on the discussion
Actual Behavior
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'ProjectMergeRequestDiscussionNoteManager' object has no attribute 'list'
Workaround:
from gitlab.mixins import ListMixin
notes = ListMixin.list(discussion.notes)
Specifications
- python-gitlab version: 5.3.1 (but looks like the mixin is missing on main branch too)
- Gitlab server version (or gitlab.com): N/A
Metadata
Metadata
Assignees
Labels
No labels