_open ()
Return new "real" connection to be saved as self.connection
This method will be called whenever a new connection needs to
be opened. It should return an opened connection of the
appropriate type, using whatever configuration data is
available. The result will be saved as self.connection for
use by other methods. (Note: your subclass code shouldn't call
self._open() , since it'll be called automatically if it's
needed, when you attempt to use self.connection .
Overriding this method is required.
|