OneBite.Dev

🧑‍🚀 Blog for learning fastapi

fastapi blog posts, coding tips and trick in a bitesize to help you learn fastapi.

How to convert sqlalchemy object to json in FastAPI

Have you struggled on How to convert sqlalchemy object to json in FastAPI? Do you know that fastapi has jsonable_encoder to do exactly this job?

fastapi python