tiangolo / sqlmodel

SQL databases in Python, designed for simplicity, compatibility, and robustness.
https://sqlmodel.tiangolo.com/
MIT License
13.54k stars 611 forks source link

Add missing "///" to update.md #779

Open nathan-osman opened 5 months ago

nathan-osman commented 5 months ago

On the "Update Data with FastAPI", towards the bottom of the page, one of the "/// tip" is missing the "///":

/// tip
Before SQLModel 0.0.14, the method was called `hero.dict(exclude_unset=True)`, but it was renamed to 
`hero.model_dump(exclude_unset=True)` to be consistent with Pydantic v2.

## Update the Hero in the Database

This PR adds the missing line and restores correct rendering of the page.

github-actions[bot] commented 5 months ago

📝 Docs preview for commit 7cced3cdef7f4497e93a4a8bd6cdb8985d57f150 at: https://4e1ac74e.sqlmodel.pages.dev