@classmethod
  def from_entity(cls, entity):
    if not isinstance(entity, SearchableEntity):
      entity = SearchableEntity(entity)
    return super(SearchableModel, cls).from_entity(entity)
Wraps db.Model.from_entity() and injects SearchableEntity.
dataset/ETHPy150Open CollabQ/CollabQ/.google_appengine/google/appengine/ext/search/__init__.py/SearchableModel.from_entity