Repository navigation
📝 Update FastAPI tutorial docs to use the new model.sqlmodel_update() instead of old setattr() - #1117
Merged
Merged
Conversation
Contributor
Contributor
Contributor
Author
|
@tiangolo now it is all green with your last commits :) |
Contributor
Contributor
Contributor
model.sqlmodel_update() instead of old setattr()
Contributor
|
📝 Docs preview for commit 072a99e at: https://8b042c1a.sqlmodel.pages.dev Modified Pages |
tiangolo
approved these changes
Apr 27, 2025
tiangolo
left a comment
Member
There was a problem hiding this comment.
Great, thank you! 🚀
I ran the local docs dev server to check the docs, I checked the tutorial for FastAPI to check the highlights and updated the ones in docs/tutorial/fastapi/teams.md, it seems those were the only ones that needed updating, the rest seemed fine.
Thank you! ☕
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
change old setattr() for sqlmodel.sqlmodel_update(), is has been updated in version 0.0.16
also in contributing, the name of the scripts to execute the test and the coverage has changed the name.