sqlmodel.ext.asyncio.session import AsyncEngine no longer works #706
              
                Unanswered
              
          
                  
                    
                      bazylhorsey
                    
                  
                
                  asked this question in
                Questions
              
            Replies: 2 comments
-
| Ahoy matey, from sqlalchemy.ext.asyncio import create_async_engineUpdate like # connectable = AsyncEngine(create_engine(settings.ASYNC_DATABASE_URI, echo=True, future=True))
connectable = create_async_engine(settings.ASYNC_DATABASE_URI, echo=True, future=True) | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            -
| Is there a simple explanation why sqlmodel exports the same types like SQLAlchemy? Is it just reexporting them or is there something different | 
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.
-
First Check
Commit to Help
Example Code
Description
I looked at source and it seems like its actually the same import, but wanted to double check.
All the examples I've found use the former, which is now not supported. Is there a better way to do this in SqlModel 0.12?
Operating System
Other
Operating System Details
Docker running Python 3.11 w/ Poetry
SQLModel Version
v0.12
Python Version
3.11
Additional Context
No response
Beta Was this translation helpful? Give feedback.
All reactions