A colleague is getting
DocumentTypeError: Document type is not supported.
when calling Subscribe using an ndb document type, on the dev appserver.
Are ndb and Prospective Search compatible?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, ndb and Prospective search are compatible but you need to use prospective_search for ndb:
from google.appengine.ext.ndb import prospective_searchRegarding the error, from the source:
http://appengine-ndb-experiment.googlecode.com/hg/ndb/prospective_search.py