@classmethod
  def from_entity(cls, entity):
    if not isinstance(entity, SearchableEntity):
      entity = SearchableEntity(entity)
    return super(SearchableModel, cls).from_entity(entity)
Decorator to prompt for user name and password. Useful for data dumps,
dataset/ETHPy150Open CollabQ/CollabQ/.google_appengine/google/appengine/ext/search/__init__.py/SearchableModel.from_entity--crossover with--dataset/ETHPy150Open NYUCCL/psiTurk/psiturk/user_utils.py/PsiTurkAuthorization.requires_auth