# PendingNotification

> **Class** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/notifications/PendingNotification)

A single notice waiting for user action.

Immutable value object: the registry owns the
key-to-toast-identity binding (see `NotificationRegistry`) so
external callers cannot corrupt click-routing indices by mutating
notifications after construction.

## Signature

```python
PendingNotification(
    self,
    key: str,
    title: str,
    body: str,
    actions: tuple[NotificationAction, ...],
    payload: Payload,
)
```

## Constructors

```python
__init__(
    self,
    key: str,
    title: str,
    body: str,
    actions: tuple[NotificationAction, ...],
    payload: Payload,
) -> None
```

| Name | Type |
|------|------|
| `key` | `str` |
| `title` | `str` |
| `body` | `str` |
| `actions` | `tuple[NotificationAction, ...]` |
| `payload` | `Payload` |


## Properties

- `key`
- `title`
- `body`
- `actions`
- `payload`

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/d1c6946218b4f0f86ab7b02b6bb6af1e4b75cede/libs/code/deepagents_code/notifications.py#L82)