Skip to content

Conversation

@ppommer
Copy link

@ppommerppommer 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

@github-actions
Copy link
Contributor

This pull request has a merge conflict that needs to be resolved.

@github-actionsgithub-actionsbot added the conflicts Automatically generated when a PR has a merge conflict label Dec 26, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

conflictsAutomatically generated when a PR has a merge conflictdocsImprovements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@ppommer@alejsdev