Re: [sqlalchemy] Session / declarative_base scope

2016-10-04 Thread Warwick Prince
Hi Mike I don’t need support very often, but when I do I know I can count on your clear and concise responses to save the day. Everything was SO close - all I needed to do was take my dynamically created classes (SalesDocumentLine for example) and force them into the general globals() and

Re: [sqlalchemy] Session / declarative_base scope

2016-09-29 Thread Mike Bayer
On 09/29/2016 01:38 AM, Warwick Prince wrote: Hi Mike I would like a little insight into the session object, and the declarative_base class. I have a process running many threads, where each thread may be connected to potentially a different engine/database. If the database connection

[sqlalchemy] Session / declarative_base scope

2016-09-28 Thread Warwick Prince
Hi Mike I would like a little insight into the session object, and the declarative_base class. I have a process running many threads, where each thread may be connected to potentially a different engine/database. If the database connection between 2 or more threads is the same, then they