def get_connection(self):
self.resurrect()<EOL>if not self.connections:<EOL><INDENT>self.resurrect(True)<EOL><DEDENT>connection = self.selector.select(self.connections)<EOL>return connection<EOL>
Return a connection from the pool using the `ConnectionSelector`
instance.

It tries to resurrect eligible connections, forces a resurrection when
no connections are availible and passes the list of live connections to
the selector instance to choose from.

Returns a connection instance and it's current fail count.