In 1.7 release NDB got support projection queries, documentation states that this is the syntax:
qry = Article.query(projection=[Article.author, Article.tags])
But running this results in the exception:
TypeError: __init__() got an unexpected keyword argument 'projection'
So is there a support for projection queries in the NDB, if yes how to use it?
There is an error in the documentation, the correct syntax is:
…replace
getwith method of your choosing as long as it takes **q_options arguments.