>
> - There is an optional parameter to init_datastore_v3_stub which you can 
> use to require indexes: require_indexes=True.
>

Bingo! :) Thanks alot for your advice.

testbed.init_datastore_v3_stub(require_indexes=True, root_path=project_dir)

also works with default in-memory datastore.

But 'require_indexes' and 'root_path' parameters has not referenced in the 
documentation in context of init_datastore_v3_stub. Appropriate 
documentation pages must be updated.

https://cloud.google.com/appengine/docs/standard/python/tools/localunittesting#datastore-memcache

WBD, Vitaly
 

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/cef62fe3-99f8-4c79-ac19-b0a7843c2823%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appengine]... Rajesh Gupta
    • [google-appen... 'George (Cloud Platform Support)' via Google App Engine
      • Re: [goog... Rajesh Gupta
        • Re: [... 'George (Cloud Platform Support)' via Google App Engine
          • R... Kaan Soral
            • ... Kaan Soral
              • ... Vitaly Bogomolov
              • ... 'George (Cloud Platform Support)' via Google App Engine
                • ... Vitaly Bogomolov
                • ... Attila-Mihaly Balazs
                • ... Vitaly Bogomolov
                • ... 'George (Cloud Platform Support)' via Google App Engine
                • ... Vitaly Bogomolov
                • ... 'George (Cloud Platform Support)' via Google App Engine
                • ... Vitaly Bogomolov
              • ... Rajesh Gupta
                • ... 'George (Cloud Platform Support)' via Google App Engine
                • ... Vitaly Bogomolov
                • ... 'George (Cloud Platform Support)' via Google App Engine

Reply via email to