def _make_connect(module, args, kwargs):
    """
    Returns a function capable of making connections with a particular
    driver given the supplied credentials.
    """
    # pylint: disable-msg=W0142
    return functools.partial(module.connect, *args, **kwargs)
Returns a function capable of making connections with a particular
    driver given the supplied credentials.