def get_connection_func(service, module=None):
    return partial(get_connection, service, module=module)
Returns a partial `get_connection` function for the provided service.
dataset/ETHPy150Open saltstack/salt/salt/utils/boto.py/get_connection_func