code: def exempt(self, resource):
          
          if resource not in self._exempt:
              self._exempt.append(resource)
docs: Exempt a view function from being checked permission
  
          :param resource: The view function exempt from checking.