Skip to content

TypeError: Relationship() got an unexpected keyword argument 'cascade_delete' #1310

Answered by alejsdev
oliviedu95 asked this question in Questions
Discussion options

You must be logged in to vote

Hi @oliviedu95

The error you're encountering is probably due to a recent update in SQLModel. You need to rebuild your Docker containers to ensure all dependencies are updated properly. You can run docker compose build before docker compose up -d.

Hope it works!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by alejsdev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
2 participants