diff --git a/docs/docs/configuration/async-queries-celery.mdx b/docs/docs/configuration/async-queries-celery.mdx index 621d66bd369e..10afa02a31a4 100644 --- a/docs/docs/configuration/async-queries-celery.mdx +++ b/docs/docs/configuration/async-queries-celery.mdx @@ -52,11 +52,11 @@ To start a job which schedules periodic background jobs, run the following comma celery --app=superset.tasks.celery_app:app beat ``` -To setup a result backend, you need to pass an instance of a derivative of from -from flask_caching.backends.base import BaseCache to the RESULTS_BACKEND configuration key in your superset_config.py. You can -use Memcached, Redis, S3 (https://pypi.python.org/pypi/s3werkzeugcache), memory or the file system -(in a single server-type setup or for testing), or to write your own caching interface. Your -`superset_config.py` may look something like: +To setup a result backend, you need to pass an instance of a derivative of `BaseCache` (`from +flask_caching.backends.base import BaseCache`) to the RESULTS_BACKEND configuration key in your +superset_config.py. You can use Memcached, Redis, S3 (https://pypi.python.org/pypi/s3werkzeugcache), +memory or the file system (in a single server-type setup or for testing), or to write your own +caching interface. Your `superset_config.py` may look something like: ```python # On S3