Thanks Marzia. For now I've got a method that loops over the possible
classes looking for the one with the ID I'm after:
def get_entry(id):
for c in [ TextEntry, BinaryEntry, Entry ]:
entry = c.get_by_id(id)
if entry != None:
return entry
return entry
Although not the most efficient way of doing it, it seems to work.
Craig
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---