I have a collection of Model objects. I am wondering if there is any
way to retrieve one of these Model objects dynamically, using nothing
more than a string. As a example, say I had a Model object named
Pigeon in my database, and I did not have a Model object named
Pooridge. If I called mysteryFx("Pigeon") it would return the class
reference to Pigeon, if I called mysteryFx("Pooridge") it would return
None. Does anyone know the innards of mysteryFx?Note, I am not interested in importing every existent Model object, and then storing them in a dictionary or something like that. I want to ask AppEngine if it has a table (kind, whatever) that matches the provided string, and if it does, I want it to give me a reference to the class implementation that matches said table. Thank you --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
