On Jan 30, 12:44 am, dburns <drrnb...@gmail.com> wrote: > You're right, it's not entirely clear why Model.get_by_id(ids) > requires all entities to have the same parent, while Model.get(keys) > doesn't have that requirement. Presumably some implementation > detail.
An entity's parent is encoded in it's key. The parent can be any other entity, of whatever type. When you call Model.get_by_ids() it needs to construct the keys. It know the entity type, and you pass it the id. How does it know what arbitrary parent the entity may or may not have? -- 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-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.