def square_root(value):
    'Filter to get square root of the value.'
    try:
        return math.sqrt(float(value))
    except (ValueError, TypeError):
        return value
Filter to get square root of the value.
def square_root(value):
    
    try:
        return math.sqrt(float(value))
    except (ValueError, TypeError):
        return value