code: def build(self, _resource, _cache=True, updatecontent=True, **kwargs):
          
          result = None
  
          if _cache and _resource in self._schemasbyresource:
              result = self._schemasbyresource[_resource]
  
          else:
              for builder in self._builders.values():
                  try:
                      result = builder.build(_resource=_resource, **kwargs)
  
                  except Exception:
                      pass
  
                  else:
                      break
  
              if result is None:
                  raise ValueError('No builder found for {0}'.format(_resource))
  
              if _cache:
                  self._schemasbyresource[_resource] = result
  
              if updatecontent:
                  from ..utils import updatecontent
                  updatecontent(result, updateparents=False)
  
          return result
docs: Build a schema class from input _resource.
  
          :param _resource: object from where get the right schema.
          :param bool _cache: use _cache system.
          :param bool updatecontent: if True (default) update result.
          :rtype: Schema.