def _wrap_input(self, transformer):

    def wrapped(view):
        return transformer(view.file.view(self._wrapped_view_type))
    return wrapped
def _wrap_input(self, transformer):

    def wrapped(view):
        return transformer(view.file.view(self._wrapped_view_type))
    return wrapped