TypeError: Relationship() got an unexpected keyword argument 'cascade_delete' #1310
              
                
                  
                  
                    Answered
                  
                  by
                    alejsdev
                  
              
          
                  
                    
                      oliviedu95
                    
                  
                
                  asked this question in
                Questions
              
            -
| First Check
 Commit to Help
 Example CodeDescription
 Operating SystemOther Operating System DetailsWSL Python VersionPython 3.10.6 Additional ContextTypeError: Relationship() got an unexpected keyword argument 'cascade_delete' | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            alejsdev
          
      
      
        Aug 17, 2024 
      
    
    Replies: 1 comment
-
| 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  Hope it works! | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
      Answer selected by
        alejsdev
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
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 buildbeforedocker compose up -d.Hope it works!