# FileInvocationStateStore

> **Class** in `langchain_azure_ai`

📖 [View in docs](https://reference.langchain.com/python/langchain-azure-ai/agents/hosting/_invocation_store/FileInvocationStateStore)

Local file-backed invocation state with atomic envelope replacement.

## Signature

```python
FileInvocationStateStore(
    self,
    storage_dir: str | Path | None = None,
)
```

## Constructors

```python
__init__(
    self,
    storage_dir: str | Path | None = None,
) -> None
```

| Name | Type |
|------|------|
| `storage_dir` | `str \| Path \| None` |


## Methods

- [`get()`](https://reference.langchain.com/python/langchain-azure-ai/agents/hosting/_invocation_store/FileInvocationStateStore/get)
- [`set()`](https://reference.langchain.com/python/langchain-azure-ai/agents/hosting/_invocation_store/FileInvocationStateStore/set)
- [`get_recovery_state()`](https://reference.langchain.com/python/langchain-azure-ai/agents/hosting/_invocation_store/FileInvocationStateStore/get_recovery_state)
- [`set_recovery_state()`](https://reference.langchain.com/python/langchain-azure-ai/agents/hosting/_invocation_store/FileInvocationStateStore/set_recovery_state)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-azure/blob/7a6a664d617264df8dcb12fcfb1bacc09f21d504/libs/azure-ai/langchain_azure_ai/agents/hosting/_invocation_store.py#L100)