sqlmodel icon indicating copy to clipboard operation
sqlmodel copied to clipboard

Add missing "///" to update.md

Open nathan-osman opened this issue 1 year ago • 1 comments

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.

nathan-osman avatar Jan 12 '24 08:01 nathan-osman

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

github-actions[bot] avatar Jan 12 '24 08:01 github-actions[bot]

Hi @nathan-osman thanks for the interest :smile: but apparently this one was handled in another PR, so we'll close this one. Thank you! :rocket:

alejsdev avatar Jul 05 '24 23:07 alejsdev