<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def classview_for(self, action='view'):
 """ Return the classview that contains the viewhandler for the specified action """

        app = current_app._get_current_object()
        return self.view_for_endpoints[app][action][0](self)