dify/api/libs/infinite_scroll_pagination.py

7 lines
165 B
Python

class InfiniteScrollPagination:
def __init__(self, data, limit, has_more):
self.data = data
self.limit = limit
self.has_more = has_more