Tag view

#startup

Cross-subject tag search for related interview cards.

Clear

Results update as you type. Press / to jump straight into search.

Tagged with startup

1 card

FastAPI Medium Theory

What is lifespan in FastAPI?

Lifespan hooks run application startup and shutdown logic such as opening shared clients or closing resources cleanly.

  • Startup for shared setup
  • Shutdown for cleanup
  • Useful for pools and model loading

What is lifespan in FastAPI?