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)