Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fastapi-pagination [databases] --> DeprecationWarning #474

Closed
vadikam100500 opened this issue Dec 16, 2022 · 1 comment
Closed

fastapi-pagination [databases] --> DeprecationWarning #474

vadikam100500 opened this issue Dec 16, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@vadikam100500
Copy link

vadikam100500 commented Dec 16, 2022

image

  • test of only 1 funtion with pagination

in file of crud:

   from fastapi_pagination.ext.databases import paginate

   async def smx():
       -- logic --
       return await paginate(db=db, query=table.select().where(), params=params)

Deprication was fixed by Encode/Databases in last versions

@uriyyo uriyyo self-assigned this Dec 16, 2022
@uriyyo uriyyo added the bug Something isn't working label Dec 16, 2022
@uriyyo
Copy link
Owner

uriyyo commented Jan 10, 2023

Hi @vadikam100500,

The new version 0.11.2 has been released and contains a fix for this issue.

@uriyyo uriyyo closed this as completed Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants