Update `Select` and `SelectOfScalar` to inherit cache
Fixes: #189 Original Solution found in https://github.com/tiangolo/sqlmodel/issues/189#issuecomment-1025190094 from @leynier
Cool 👌🏼
This patch looks good to me.
Noticed this as well, would be nice to get rid of the warning spam.
LGTM
Codecov Report
Merging #234 (75f2d1c) into main (5e0ac5b) will not change coverage. The diff coverage is
n/a.
@@ Coverage Diff @@
## main #234 +/- ##
=======================================
Coverage 97.70% 97.70%
=======================================
Files 185 185
Lines 6134 6134
=======================================
Hits 5993 5993
Misses 141 141
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
Awesome! Thanks a lot @rabinadk1 and @leynier for the tip! :cake: :coffee:
This will be available in SQLModel 0.0.7, released in the next hours. :tada: