'Context used to acquire a connection from the pool.
For use within a :keyword:`with` statement to get a connection
from the pool if one is not already provided.
Arguments:
connection (kombu.Connection): If not provided, a connection
will be acquired from the connection pool.'

def connection_or_acquire(self, connection=None, pool=True, *_, **__):

    return FallbackContext(connection, self._acquire_connection, pool=pool)
