📝 Use FastAPI lifespan instead of startup event by Michele0303 · Pull Request #1687 · fastapi/sqlmodel
Replace deprecated FastAPI startup events in tutorial examples with lifespan context managers, keeping on_startup() as a helper for tests and documentation consistency.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters