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.