Relative Content

Tag Archive for fastapiencoderpython-3.12

fastapi jsonable_encoder error when returning sqlalchemy db query results

My fastapi component was working well when I was using Python3.8. Recently, I started upgrading to Python3.12.4 and ended up having issues with fastapi. The fastapi(0.112.2) jsonable_encoder errors while handling sqlalchemy db query results. But when I was using fastapi(0.100.0), it was working as expected. The error now goes like this –