

def Partial(func, **kwargs):
    'Allows the use of partially applied functions in the\n    configuration.\n    '
    if isinstance(func, str):
        func = resolve_dotted_name(func)
    return partial(func, **kwargs)

dataset/ETHPy150Open ottogroup/palladium/palladium/util.py Partial/original