Skip to content

Commit a07ba3e

Browse files
Replacing fastcrud.paginated imports on the readme.
1 parent 01e2557 commit a07ba3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
11311131
from typing import Annotated
11321132
from fastapi import Depends, Request
11331133
from 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)

0 commit comments

Comments
 (0)