I found error in primer at 
page<https://developers.google.com/appengine/docs/python/ndb/queries#projection>
.

Incorrect version:
qry = Article.query(projection=[Article.author, Article.tags])
articles = qry.fetch(20)

Correct version of primer
qo = ndb.QueryOptions(projection=['author', 'tags'])
qry = Article.query()
articles = qry.fetch(20, options=qo)

Maybe that help someone.
Sorry for my english.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/mIYyrcVPATgJ.
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.

Reply via email to