## providers.testing.InMemDtoKeyValueStore

<span id="hexkit.providers.testing.InMemDtoKeyValueStore"></span>


In-memory KVStore provider for Pydantic model (DTO) data.


Usage

``` python
providers.testing.InMemDtoKeyValueStore(
    *, dto_model, key_prefix=DEFAULT_KV_PREFIX, backing_store=None
)
```


## Methods

| Name | Description |
|----|----|
| [__init__()](#__init__) | Initialize with DTO model type and optional storage settings. |
| [construct()](#construct) | Yield an in-memory DTO store instance. |

<span id="__init__"></span>

<span id="hexkit.providers.testing.InMemDtoKeyValueStore.__init__"></span>


#### \_\_init\_\_()


Initialize with DTO model type and optional storage settings.


Usage

``` python
__init__(*, dto_model, key_prefix=DEFAULT_KV_PREFIX, backing_store=None)
```


<span id="hexkit.providers.testing.InMemDtoKeyValueStore.construct"></span>

------------------------------------------------------------------------


#### construct()


Yield an in-memory DTO store instance.


Usage

``` python
construct(*, key_prefix=DEFAULT_KV_PREFIX, backing_store=None, dto_model=None)
```
