Hi Michael and others,

we are about upgrading from SA 0.5 to SA 0.6, and some of our code is failing because it was expecting to obtain a transaction obj from engine.begin() (for threadlocal engines). In SA 0.4 this even returned a context manager so that we were able to do

with engine.begin():
   ... some transactions ...

Has this been removed for some purpose? I found it very useful, and it fits with sessions where you can write

with Session.begin():
   ... some transactions ...


So will this be the future behaviour of engine.begin() that it returns just None?

Just being curious.

Thanks,

Ralph

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

Reply via email to