def validate_custom(schema, **state_kwargs):
    # Create a state object if requested
    if state_kwargs:
        state = State(**state_kwargs)
    else:
        state = None

    # In case of validation errors an exception is thrown. This needs to
    # be caught elsewhere.

    if state_kwargs.get('variable_decode', False):
        params = formencode.variabledecode.variable_decode(pylons.request.params)
        print pylons.request.params
        print params
    else:
        params = pylons.request.params
    return schema.to_python(params, state)
Run ``git ls-files`` in the top-level project directory. Arguments go
dataset/ETHPy150Open ralfonso/theory/theory/model/form.py/validate_custom--crossover with--dataset/ETHPy150Open calvinschmdt/EasyTensorflow/setup.py/git_ls_files