You use the function get_multi which takes a list of keys.
objects = ndb.get_multi([ndb.Key(Model, k) for k in ids])
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more