Re: [sqlalchemy] new tests show a connection/transaction anti-pattern, unsure how to address this.

2018-10-25 Thread Jonathan Vanasco
On Wednesday, October 24, 2018 at 9:01:53 PM UTC-4, Mike Bayer wrote: > > that's not normal unless you are holding a Connection around and > calling close() on it, have a stack trace ? or is this inside an > event handler? > First, *a huge thanks for everything.* This had been troubling me

Re: [sqlalchemy] new tests show a connection/transaction anti-pattern, unsure how to address this.

2018-10-24 Thread Mike Bayer
On Wed, Oct 24, 2018 at 7:15 PM Jonathan Vanasco wrote: > > A new suite of unittests shed light on what appears to be anti-pattern in an > application. I'm not sure how to address this one. > > > The general flow of a particular web request is this: > > > Phase 1- load some database objects for

[sqlalchemy] new tests show a connection/transaction anti-pattern, unsure how to address this.

2018-10-24 Thread Jonathan Vanasco
A new suite of unittests shed light on what appears to be anti-pattern in an application. I'm not sure how to address this one. The general flow of a particular web request is this: Phase 1- load some database objects for general verification Phase 2- loop through a handful of routines to