How to Fix SQLAlchemy InvalidRequestError: Failed to Locate Relationship Class Name in Model Definition #1221
Unanswered
MuttakinHasib
asked this question in
Questions
Replies: 0 comments
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
In my application, I have a
Notebook
table, with each notebook containing multipleSources
andTopics
. I've established the relationships in my model (example code provided). However, when I make a POST request to create a notebook, I encounter the following error:@tiangolo, could you please help me resolve this issue?
Thank you!
Operating System
macOS
Operating System Details
No response
SQLModel Version
0.0.22
Python Version
3.11
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions