Learn to build a multi-tenant SaaS app with Python, FastAPI, SQLAlchemy and Nile's Postgres.
Пікірлер: 2
@ArmadilloFactory7 ай бұрын
Why do you assign a todos variable rather than returning the function value directly?
@niledatabase7 ай бұрын
Nice catch. You'd normally want to wrap the DB call in a bit of try / catch error handling code. But, for the demo, I could make this method even shorter.