Redis cache backend.
Requiresredis (pip install chirp[redis]).
cache.backends.redis
| Name | Type | Default | Description |
|---|---|---|---|
type
|
|
— | |
qualified_name
|
|
— | |
element_type
|
|
— | |
description
|
|
— | |
source_file
|
|
— | |
line_number
|
|
— | |
is_autodoc
|
|
— | |
autodoc_element
|
|
— | |
_autodoc_template
|
|
— | |
_autodoc_url_path
|
|
— | |
_autodoc_page_type
|
|
— | |
title
|
|
— | |
doc_content_hash
|
|
— |
Symbols on this page
RedisCacheBackend
class
Redis-backed cache. Shared across workers.
Usage::
from chirp.cache.backends.redis import RedisCacheBackend
backend = RedisCacheBackend("redis://localhost:6379/0")
View source · /home/runner/work/chirp/chirp/site/../src/chirp/cache/backends/redis.py:1