Skip to content

Conversation

phi-friday
Copy link
Contributor

fix SQLModel.parse_obj, SQLModel.validate method return type
"SQLModel" -> _TSQLModel

issues link

phi-friday and others added 2 commits April 29, 2022 22:49
fix SQLModel.parse_obj, SQLModel.validate method return type
"SQLModel" -> _TSQLModel

[issues link](fastapi#317)
@codecov
Copy link

codecov bot commented Aug 27, 2022

Codecov Report

Merging #321 (e9f1346) into main (c743647) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #321   +/-   ##
=======================================
  Coverage   97.70%   97.70%           
=======================================
  Files         185      185           
  Lines        6134     6134           
=======================================
  Hits         5993     5993           
  Misses        141      141           
Impacted Files Coverage Δ
sqlmodel/main.py 84.59% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@github-actions
Copy link
Contributor

📝 Docs preview for commit e9f1346 at: https://630aa6b97ca5615488983fb5--sqlmodel.netlify.app

@tiangolo tiangolo changed the title fix parse_obj, validate method return type 🐛 Fix type annotations for Model.parse_obj(), and Model.validate() Aug 27, 2022
@tiangolo
Copy link
Member

Good catch, thank you @phi-friday! 🍰

This will be available in the next release, SQLModel 0.0.7, released in the next hours. 🎉

@tiangolo tiangolo merged commit 5429e9b into fastapi:main Aug 27, 2022
@tiangolo tiangolo mentioned this pull request Aug 27, 2022
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants