Relationships with dicts not working anymore #835
              
                Unanswered
              
          
                  
                    
                      jordi-petit
                    
                  
                
                  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
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
First Check
Commit to Help
Example Code
Description
I wish to have a relationship attribute made of a dict rather than a list.
In sqlmodel-0.0.8 this code was working well.
However, in sqlmodel-0.0.16 I get this error:
I am not able to tell if the problem is in SQLModel, SQLAlchemy or in typing.
Or should this be done in a different way?
Operating System
Linux
Operating System Details
Linux 5.15.0-92-generic #102-Ubuntu SMP 86_64 x86_64 x86_64 GNU/Linux
SQLModel Version
0.0.8 vs 0.0.16
Python Version
Python 3.10.12
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions