def arc_sine(value):
    'Filter to get arc sine of the value.'
    try:
        return math.asin(float(value))
    except (ValueError, TypeError):
        return value
Filter to get arc sine of the value.
def arc_sine(value):
    
    try:
        return math.asin(float(value))
    except (ValueError, TypeError):
        return value