Re: [sqlalchemy] when does session.transaction come into being?

2019-06-04 Thread Mike Bayer
On Tue, Jun 4, 2019, at 4:34 PM, Chris Withers wrote: > On 04/06/2019 14:47, Mike Bayer wrote: > > > > > > On Tue, Jun 4, 2019, at 3:05 AM, Chris Withers wrote: > >> Hi All, > >> > >> What creates session.transaction? I can't spot get __getattr__ magic, > >> but the only place in the code I

Re: [sqlalchemy] when does session.transaction come into being?

2019-06-04 Thread Chris Withers
On 04/06/2019 14:47, Mike Bayer wrote: On Tue, Jun 4, 2019, at 3:05 AM, Chris Withers wrote: Hi All, What creates session.transaction? I can't spot get __getattr__ magic, but the only place in the code I see it being created is in .begin(...), which has a docstring saying that it should no

Re: [sqlalchemy] when does session.transaction come into being?

2019-06-04 Thread Mike Bayer
On Tue, Jun 4, 2019, at 3:05 AM, Chris Withers wrote: > Hi All, > > What creates session.transaction? I can't spot get __getattr__ magic, > but the only place in the code I see it being created is in .begin(...), > which has a docstring saying that it should no longer be used, so I feel >

[sqlalchemy] when does session.transaction come into being?

2019-06-04 Thread Chris Withers
Hi All, What creates session.transaction? I can't spot get __getattr__ magic, but the only place in the code I see it being created is in .begin(...), which has a docstring saying that it should no longer be used, so I feel like I must be missing something? cheers, Chris -- SQLAlchemy -