pynenc.arg_cache.redis_arg_cache¶
Module Contents¶
Classes¶
Redis-based implementation of argument caching. |
API¶
- class pynenc.arg_cache.redis_arg_cache.RedisArgCache(app: pynenc.app.Pynenc)[source]¶
Bases:
pynenc.arg_cache.base_arg_cache.BaseArgCacheRedis-based implementation of argument caching.
Stores serialized arguments in Redis for distributed access. Suitable for production use as cache is shared across all processes.
Initialization
Initialize with app reference.
- property client: redis.Redis¶
Lazy initialization of Redis client
- conf() pynenc.conf.config_arg_cache.ConfigArgCacheRedis¶
Get Redis-specific configuration.