From fae65343ed6b78ca47fafa1aa93dfe5ba431116a Mon Sep 17 00:00:00 2001 From: cprice404 Date: Tue, 29 Aug 2023 17:51:33 +0000 Subject: [PATCH] Update templated README.md file --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b374549..81be3ca 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ from momento_redis import MomentoRedis _CACHE_NAME = "my-cache" # Initialize Momento client. redis_client = MomentoRedis( - momento.CacheClient( + momento.CacheClient.create( momento.Configurations.Laptop.latest(), momento.CredentialProvider.from_environment_variable("MOMENTO_AUTH_TOKEN"), datetime.timedelta(seconds=60)