code: def _set_object_view(self, session):
          
          for obj_name in self._object_views:
              if self._object_views[obj_name] == PLENARY:
                  try:
                      getattr(session, 'use_plenary_' + obj_name + '_view')()
                  except AttributeError:
                      pass
              else:
                  try:
                      getattr(session, 'use_comparative_' + obj_name + '_view')()
                  except AttributeError:
                      pass
docs: Sets the underlying object views to match current view