Exemple #1
0
 def _get_connection(self, purpose=rpc_common.PURPOSE_SEND):
     return rpc_common.ConnectionContext(self._connection_pool,
                                         purpose=purpose)
 def _get_connection(self, purpose):
     return driver_common.ConnectionContext(self.connection_pool, purpose)