# UpdateProgressScreen

> **Class** in `deepagents_code`

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

Modal that shows self-update progress and a bounded log tail.

## Signature

```python
UpdateProgressScreen(
    self,
    *,
    latest: str,
    command: str,
    log_path: Path,
    tail_limit: int = 30,
)
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `latest` | `str` | Yes | Version being installed. |
| `command` | `str` | Yes | Upgrade command being run. |
| `log_path` | `Path` | Yes | Persisted log file path. |
| `tail_limit` | `int` | No | Maximum output lines to keep in memory. (default: `30`) |

## Extends

- `ModalScreen[None]`

## Constructors

```python
__init__(
    self,
    *,
    latest: str,
    command: str,
    log_path: Path,
    tail_limit: int = 30,
) -> None
```

| Name | Type |
|------|------|
| `latest` | `str` |
| `command` | `str` |
| `log_path` | `Path` |
| `tail_limit` | `int` |


## Properties

- `BINDINGS`
- `CSS`

## Methods

- [`compose()`](https://reference.langchain.com/python/deepagents-code/widgets/update_progress/UpdateProgressScreen/compose)
- [`on_mount()`](https://reference.langchain.com/python/deepagents-code/widgets/update_progress/UpdateProgressScreen/on_mount)
- [`append_line()`](https://reference.langchain.com/python/deepagents-code/widgets/update_progress/UpdateProgressScreen/append_line)
- [`mark_success()`](https://reference.langchain.com/python/deepagents-code/widgets/update_progress/UpdateProgressScreen/mark_success)
- [`mark_failure()`](https://reference.langchain.com/python/deepagents-code/widgets/update_progress/UpdateProgressScreen/mark_failure)
- [`action_toggle_details()`](https://reference.langchain.com/python/deepagents-code/widgets/update_progress/UpdateProgressScreen/action_toggle_details)
- [`action_cancel()`](https://reference.langchain.com/python/deepagents-code/widgets/update_progress/UpdateProgressScreen/action_cancel)
- [`action_copy_log_path()`](https://reference.langchain.com/python/deepagents-code/widgets/update_progress/UpdateProgressScreen/action_copy_log_path)

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/a98f0dfa8d534d8a1885b524632400e52db22ac6/libs/code/deepagents_code/widgets/update_progress.py#L24)