robota-suite / robota-core

A Python package for reading in elements of GitLab and GitHub repositories, for further analysis.
https://robota-core.readthedocs.io
MIT License
0 stars 9 forks source link

Handle pagination in querying for merge requests #3

Open MeltedHyperion7 opened 4 months ago

MeltedHyperion7 commented 4 months ago

[Copied from Gitlab.]

C:\Users\Suzan\PycharmProjects\robota-marking\venv\lib\site-packages\robota_core\merge_request.py:51: UserWarning: Calling a list() method without specifying get_all=True or iterator=True will return a maximum of 20 items. Your query returned 20 of 21 items. See https://python-gitlab.readthedocs.io/en/v3.13.0/api-usage.html#pagination for more details. If this was done intentionally, then this warning can be supressed by adding the argument get_all=False to the list() call. (python-gitlab: C:\Users\Suzan\PycharmProjects\robota-marking\venv\lib\site-packages\gitlab\client.py:981) note in gl_merge_request.notes.list()]