def _model_to_prospective_search_schema(model, add_entry):
 from google.appengine.ext import db
 for (name, model_property) in model.properties().iteritems():
  model_class = model_property.__class__
  if issubclass(model_class, db.ListProperty):
   model_class = _GetModelTypeForListPropertyType(model_property.item_type)
  _add_schema_entry(model_class, name, add_entry)

def _model_to_prospective_search_schema ( model , add_entry ) : from google . appengine . ext import db for ( name , model_property ) in model . properties ( ) . iteritems ( ) : model_class = model_property . __class__ if issubclass ( model_class , db . ListProperty ) : model_class = _GetModelTypeForListPropertyType ( model_property . item_type ) _add_schema_entry ( model_class , name , add_entry )
produce schemaentries from db .