def _input_validates(args_validators, kwargs_validators, *args, **kwargs):
    for i, value in enumerate(args):
        if i < len(args_validators) and args_validators[i]:
            args_validators[i](value)
    for key, value in kwargs.items():
        if kwargs_validators.get(key):
            kwargs_validators[key](value)
Download operations on an account, optional container and optional list
dataset/ETHPy150Open openstack/compass-core/compass/db/api/utils.py/_input_validates--crossover with--dataset/ETHPy150Open openstack/python-swiftclient/swiftclient/service.py/SwiftService.download