Replies: 1 comment
-
I think this has been resolved. Can't reproduce in current version |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
First Check
Commit to Help
Example Code
Description
From Multiple Models
Actually trying this gets you:
When trying to use
HeroRead
as a response schema for a fastapi endpoint.Operating System
Linux
Operating System Details
Docker base on
python:3.12
SQLModel Version
sqlmodel==0.0.11
pydantic is at 1.10.13, if it matters. I don't specify this, it is auto resolved for sqlmodel and fastapi.
Python Version
3.12.0
Additional Context
Posting this here instead of fastapi or pydantic because this seems like an intentional feature of those two, but conflicts with the aforementioned documentation.
Beta Was this translation helpful? Give feedback.
All reactions