flask_more_smorest.crud.pagination

Classes

CRUDPaginationMixin()

Mixin class to add custom pagination support to CRUDBlueprint.

class flask_more_smorest.crud.pagination.CRUDPaginationMixin[source]

Mixin class to add custom pagination support to CRUDBlueprint.

paginate(pager=None, *, page=None, page_size=None, max_page_size=None)[source]

Decorator adding pagination to the endpoint.

Overrides flask-smorest’s paginate to allow compatibility with argument schemas that already include pagination parameters. Allows defining multiple @bp.arguments decorators without conflict.

If pager is None (default), we assume manual handling compatible with filter schemas.

Return type:

Any