app/views/sanitize.py
def persoa_output(func):
    """
    Passes in a new PersOAOutput to the function every call and catches any problem with the input
    """
    @wraps(func)
    def wrapper(*args, **kwargs):
        out = PersOAOutput()
        kwargs['output'] = out
        try:
            func(*args, **kwargs)
        except PersOAEarlyFinish:
            pass
        return out.sanitize()
    return wrapper

    Passes in a new PersOAOutput to the function every call and catches any problem with the input
    
Passes in a new PersOAOutput to the function every call and catches any problem with the input
Passes in a new PersOAOutput to the function every call and catches any problem with the input
def persoa_output(func):
    @wraps(func)
    def wrapper(*args, **kwargs):
        out = PersOAOutput()
        kwargs['output'] = out
        try:
            func(*args, **kwargs)
        except PersOAEarlyFinish:
            pass
        return out.sanitize()
    return wrapper
def persoa_output ( func ) : @ wraps ( func ) def wrapper ( * args , ** kwargs ) : out = PersOAOutput ( ) kwargs [ 'output' ] = out try : func ( * args , ** kwargs ) except PersOAEarlyFinish : pass return out . sanitize ( ) return wrapper
Passes in a new PersOAOutput to the function every call and catches any problem with the input
Passes in a new PersOAOutput to the function every call and catches any problem with the input
"""
    Passes in a new PersOAOutput to the function every call and catches any problem with the input
    """
func