[Twisted-Python] adbapi.Augmention

Jon Dyte jon at totient.demon.co.uk
Thu Nov 13 15:38:26 MST 2003


Hi 

the doc string of adbapi.Augmentation mentions just using the ConnectionPool 
directly.

"A class which augments a database connector with some functionality.
This class is now deprecated. Just use the ConnectionPool directly.
Conventional usage of me is to write methods that look like..."


Presumbably this means DONT inherit from ConnectionPool like you
used to inherit from Augmentation( or am I reading that incorrectly)
and just create a ConnectionPool instance and run the queries through that.



Jon 




More information about the Twisted-Python mailing list