# InMemoryBaseStore

> **Class** in `langchain_core`

📖 [View in docs](https://reference.langchain.com/python/langchain-core/stores/InMemoryBaseStore)

In-memory implementation of the `BaseStore` using a dictionary.

## Signature

```python
InMemoryBaseStore(
    self,
)
```

## Extends

- `BaseStore[str, V]`
- `Generic[V]`

## Constructors

```python
__init__(
    self,
) -> None
```


## Properties

- `store`

## Methods

- [`mget()`](https://reference.langchain.com/python/langchain-core/stores/InMemoryBaseStore/mget)
- [`amget()`](https://reference.langchain.com/python/langchain-core/stores/InMemoryBaseStore/amget)
- [`mset()`](https://reference.langchain.com/python/langchain-core/stores/InMemoryBaseStore/mset)
- [`amset()`](https://reference.langchain.com/python/langchain-core/stores/InMemoryBaseStore/amset)
- [`mdelete()`](https://reference.langchain.com/python/langchain-core/stores/InMemoryBaseStore/mdelete)
- [`amdelete()`](https://reference.langchain.com/python/langchain-core/stores/InMemoryBaseStore/amdelete)
- [`yield_keys()`](https://reference.langchain.com/python/langchain-core/stores/InMemoryBaseStore/yield_keys)
- [`ayield_keys()`](https://reference.langchain.com/python/langchain-core/stores/InMemoryBaseStore/ayield_keys)

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/6fb37dba71da807af60aa7b909f71f0625a666bf/libs/core/langchain_core/stores.py#L176)