I would like to disable context cache in only one of my queries. I thought I could do it like this:
MyModel.query(ancestor=user.key).fetch(100, options=ContextOptions(use_cache=False, use_memcache=False))
or
MyModel.query(ancestor=user.key).fetch(100, config=ContextOptions(use_cache=False, use_memcache=False))
But this does not work for me. So my question is how to disable cache and memcache for requests using fetch ?
PS:
For get (), it works fine:
MyModel.query(ancestor=user.key).get(use_cache=False, use_memcache=False)
Thanks!
source share