def check_partial(func, *args, **kwargs):
    """Create a partial to be used by goodtables."""
    new_func = partial(func, *args, **kwargs)
    new_func.check = func.check
    return new_func
Create a partial to be used by goodtables.