Replies: 2 comments
-
I guess not. explicity is always better than implicity. Also, it's not woring on async session. Use |
Beta Was this translation helpful? Give feedback.
0 replies
-
Unsubscribe Reply to this email directly, view it on GitHub, or unsubscribe.
… You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First Check
Commit to Help
Example Code
Description
The code above works fine, but does not return nested dictonary with search relationship. If I simply create
and change response_model to VideoResponse, everything works as I wish. However it brings some redundancy, which in fact SQLModel aims to remove. Would it be possible to make SQLModel serialize the relationship by default?
Operating System
Linux
Operating System Details
No response
SQLModel Version
sqlmodel==0.0.14
Python Version
3.11.4
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions