code: def _set_operable_view(self, session):
          
          for obj_name in self._operable_views:
              if self._operable_views[obj_name] == ACTIVE:
                  try:
                      getattr(session, 'use_active_' + obj_name + '_view')()
                  except AttributeError:
                      pass
              else:
                  try:
                      getattr(session, 'use_any_status_' + obj_name + '_view')()
                  except AttributeError:
                      pass
docs: Sets the underlying operable views to match current view