CacheFactory
Name | Description |
---|---|
seed | Used as a seed or namespace for the cache. Type: str | int |
redis_url | URL for the Redis server. Type: str | None Default: None |
cache_path_root | Root path for the disk cache. Type: str Default: ‘.cache’ |
cosmosdb_config | Dictionary containing ‘connection_string’, ‘database_id’, and ‘container_id’ for Cosmos DB cache. Type: dict[str, typing.Any] | None Default: None |
Type | Description |
---|---|
AbstractCache | An instance of RedisCache, DiskCache, or CosmosDBCache. |