File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1125,13 +1125,13 @@ With the `get_multi` method we get a python `dict` with full suport for paginati
11251125}
11261126```
11271127
1128- And in the endpoint, we can import from ` fastcrud.paginated ` the following functions and Pydantic Schema:
1128+ And in the endpoint, we can import from ` fastcrud ` the following functions and Pydantic Schema:
11291129
11301130``` python
11311131from typing import Annotated
11321132from fastapi import Depends, Request
11331133from sqlalchemy.ext.asyncio import AsyncSession
1134- from fastcrud.paginated import (
1134+ from fastcrud import (
11351135 PaginatedListResponse, # What you'll use as a response_model to validate
11361136 paginated_response, # Creates a paginated response based on the parameters
11371137 compute_offset, # Calculate the offset for pagination ((page - 1) * items_per_page)
You can’t perform that action at this time.
0 commit comments