Yurii Karabas
Yurii Karabas
Is this issue still relevant? Can I somehow help you?
@13129 Any updates? Can I somehow help you?
@13129 Is this issue still relevant?
@13129 I'm closing this issue. Please, reopen it in case this issue is still relevant.
Hi @JoJoJoJoJoJoJo, Async `paginate` functions already support async transformers. Example: ```py from typing import Sequence from fastapi_pagination.ext.sqlalchemy import paginate from sqlalchemy import select from sqlalchemy.ext.asyncio import AsyncSession @app.get("/users") async def...
@JoJoJoJoJoJoJo Could you please show an example?
Hmmm, That's an interesting case. From where categories come from? Is it from DB or user specify them?
Hi @JoJoJoJoJoJoJo, New version `0.12.17` has been released. Now you can have async paginate, example: ```py from fastapi_pagination.async_paginator import paginate @app.get('/category/items') async def get_category_items(user: User, categories: Sequence[str], db:AsyncSession = Depends(get_db))...
Hi @pattonLees, Docs seems to be a bit outdated and use pydantic v1 and you are using pydantic v2. Could you try to update `Goods` schema?: ```py class Goods(BaseModel): assert_name:...
@pattonLees Practice makes perfect) I would recommend check out `pydantic` docs they are really great - https://docs.pydantic.dev/latest/