# UpstashRedisStore

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/storage/upstash_redis/UpstashRedisStore)

BaseStore implementation using Upstash Redis
as the underlying store to store strings.

Deprecated in favor of the more generic UpstashRedisByteStore.

## Signature

```python
UpstashRedisStore(
    self,
    *,
    client: Any = None,
    url: Optional[str] = None,
    token: Optional[str] = None,
    ttl: Optional[int] = None,
    namespace: Optional[str] = None,
)
```

## Extends

- `_UpstashRedisStore`

## ⚠️ Deprecated

Deprecated since version 0.0.1. Use UpstashRedisByteStore instead.

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/4b280287bd55b99b44db2dd849f02d66c89534d5/libs/community/langchain_community/storage/upstash_redis.py#L123)