I don't think id is unique among different kinds or entity groups. I could be wrong though.
On Nov 11, 3:36 pm, Craig <[EMAIL PROTECTED]> wrote: > 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 google-appengine@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---