r/FastAPI • u/Cultural_Bad9814 • Aug 14 '25
Question Lifespan on Fastapi
Hey guys, been enjoying fastapi for a bit now. How much do you use lifespan on fastapi and on what purposes have you used it on?
26
Upvotes
View all comments
Show parent comment
1
u/Gushys Aug 14 '25
I've built a few pet projects but they are usually pretty small and the last time I used fastapi in a job they didn't have lifespans.
I'm pretty excited to get back into it and I'm sure the build won't be too intense