# UpdateBeforeDependenciesConfirmScreen

> **Class** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/tui/widgets/update_confirm/UpdateBeforeDependenciesConfirmScreen)

Confirmation overlay before `/update --deps` upgrades dcode itself.

Dismisses with `True` when the user chooses the app update first and `False`
when they prefer to refresh dependencies for the current app version.

## Signature

```python
UpdateBeforeDependenciesConfirmScreen(
    self,
    *,
    current: str,
    latest: str,
)
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `current` | `str` | Yes | Currently running `deepagents-code` version. |
| `latest` | `str` | Yes | Latest available `deepagents-code` version. |

## Extends

- `_DependencyConfirmScreen`

## Constructors

```python
__init__(
    self,
    *,
    current: str,
    latest: str,
) -> None
```

| Name | Type |
|------|------|
| `current` | `str` |
| `latest` | `str` |


## Properties

- `BINDINGS`

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/e14e0adcbe78565ed3650e7f24b2a775d5437d25/libs/code/deepagents_code/tui/widgets/update_confirm.py#L120)