How can I get the last element of a PaginatedList?#
(<github.PaginatedList.PaginatedList object at 0x7f1c6a492a50>).
My code is something like this -
a_project_column.get_cards()[-1] and the error is
"IndexError: list index out of range"
But the below code is working fine for getting the desired result (i.e., > >ProjectCard(id=5161717))
a_project_column.get_cards()[0]
For reference https://github.com/PyGithub/PyGithub/blob/master/github/PaginatedList.py