Hi Doug,

I am traveling and this deseves a careful answer. I will try next week
when I will return from vacation. Sorry about this.

On Jun 21, 11:07 am, Doug Warren <[email protected]> wrote:
> When is close_all_instances() in the ConnectionPool class of DAL run?
> main.py always calls close_all_instances through BaseAdapter which
> seems to always be SQLDB() from sql.py.  BaseAdapter is a class in
> dal.py that inherits from ConnectionPool, but main.py importas
> BaseAdapter from sql.py instead which is just an alias for SQLDB.
> (Sorry if that last part seems to be repeated.)  SQLDB inherits only
> from dict and not even ConnectionPool, though it seems to have some
> code that implements 'a' connectionpool, but not the class
> ConnectionPool.  Is BaseAdapter and ConnectionPool in dal.py
> deprecated?  If so is this documented anywhere?  I'm still trying to
> get my mind on the flow of the code and SQLDB vs dal.py is my biggest
> sticking point at the moment.

Reply via email to