I would like to be able to retrieve a class from the class kind in the python version of Google App Engine. How do I retrive the class with a string containing the class kind?
player_props = Player.properties()
country_props = Country.properties()
model_list = ['Player', 'Country']
for m in model_list:
#foo = theClass
props = foo.properties()
You can use the
class_for_kind("Kind")function, in thegoogle.appengine.ext.dbpackage. Your model classes must be imported for this to work.