diff --git a/examples/cache_example.py b/examples/cache_example.py index 60823366..50a6fe85 100644 --- a/examples/cache_example.py +++ b/examples/cache_example.py @@ -21,7 +21,7 @@ from aiocache.serializers import JsonSerializer app = Sanic(__name__) aiocache.settings.set_defaults( - cache="aiocache.RedisCache" + class_="aiocache.RedisCache" )