Dimitri Tcaciuc wrote:
>
>> My plan was that when an engine gets bound to session, I perform the
>> database copy and create another engine which actually binds. When the
>> session expires, temporary database is collected. But at this point,
>> trying to make a simple Session subclass like so:
>>
>>     from sqlalchemy.orm.session import Session
>>     from sqlalchemy.orm import sessionmaker
>>
>>     def CachedSession(Session):
>>         pass
>>
>>     MySession = sessionmaker(class_=CachedSession)
>>
>> results in metaclass conflict,

sessionmaker() and Session don't use any metaclasses so I'm not sure what
the issue is here.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to