Closed LeoQuote closed 6 months ago
anyone encoutered this, use
fastapi-pagination
sqlalchemy>=2.0
in your requirements.txt , instead of fastapi-pagination[sqlalchemy]
, fastapi-pagnination claims to be compatible with both sqlalchemy 1. and 2. , appeareantly there're some issues with sqlalchemy 1. , using 2. would be a better choice.
my code:
basically just copied from the sqlalchemy example
pip list: