code: def set_forbidden_types(self, types):
          
          if self._forbidden_types == types:
              return
          self._forbidden_types = types
          self.invalidateFilter()
docs: Set all forbidden type values
  
          :param typees: a list with forbidden type values
          :type typees: list
          :returns: None
          :rtype: None
          :raises: None