We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08c4c62 commit 37928c2Copy full SHA for 37928c2
packages/google-cloud-ndb/MIGRATION_NOTES.md
@@ -62,7 +62,7 @@ client = ndb.Client()
62
# Assume REDIS_CACHE_URL is set in environment (or not).
63
# If left unset, this will return `None`, which effectively allows you to turn
64
# global cache on or off using the environment.
65
-global_cache = ndb.RedisCache().from_environment()
+global_cache = ndb.RedisCache.from_environment()
66
67
with client.context(global_cache=global_cache) as context:
68
do_stuff_with_ndb()
0 commit comments