# PutOp

> **Class** in `langgraph.store`

📖 [View in docs](https://reference.langchain.com/python/langgraph.store/base/PutOp)

Operation to store, update, or delete an item in the store.

This class represents a single operation to modify the store's contents,
whether adding new items, updating existing ones, or removing them.

## Signature

```python
PutOp()
```

## Extends

- `NamedTuple`

## Properties

- `namespace`
- `key`
- `value`
- `index`
- `ttl`

---

[View source on GitHub](https://github.com/langchain-ai/langgraph/blob/1a9baae9592e0c21336f6e09c891ba75481fd657/libs/checkpoint/langgraph/store/base/__init__.py#L431)