def links(self) -> MutableMapping:
"""
Return pagination links.
**Must be overridden.**
A dictionary, which must be included in the top-level *links object*.
It contains these keys:
* *self*
The link to the current page
* *first*
The link to the first page
* *last*
The link to the last page
* *prev*
The link to the previous page (only set, if a previous page exists)
* *next*
The link to the next page (only set, if a next page exists)
"""
raise NotImplementedError
评论列表
文章目录