Skip to content

Conversation

@ppommer
Copy link

@ppommer ppommer commented May 31, 2024

Taking care of

DeprecationWarning: 
          on_event is deprecated, use lifespan event handlers instead.
  
          Read more about it in the
          [FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/).

in the FastAPI and Pydantic Tutorial.

Deprecation is noted here and here.


  • Update deprecated on_event with lifespan event
  • Update tutorial text
  • Update tutorial line numbers

@github-actions
Copy link
Contributor

📝 Docs preview for commit 79462c5 at: https://32aff99e.sqlmodel.pages.dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants