def view_value(value):
    def value_returner(context):
        return value
    return value_returner
Construct a view that returns the given value when called
dataset/ETHPy150Open akheron/stango/tests/__init__.py/view_value