---
title: "ProgressUpdate.done"
description: "Mark work as completed on a progress indicator."
image: "https://tilebox.com/images/tilebox-docs-social-preview.png"
---

> Documentation Index
> Fetch the complete documentation index at: https://tilebox.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# ProgressUpdate.done

import { Fragment } from "astro/jsx-runtime";

import ApiReference from "@docs/components/ApiReference.astro";

import ParamField from "@docs/components/ParamField.astro";

```python
def ProgressUpdate.done(count: int) -> None
```

Mark work as completed on a progress indicator.

Call `done` as the task finishes units of work added with [`ProgressUpdate.add`](/docs/api-reference/python/tilebox.workflows/ProgressUpdate.add).

## Parameters

**count**

type: int

required: true

Amount of work to mark as completed.

## Returns

`None`

<h2 id="request-example">Usage example</h2>

```python
progress = context.progress("process-items")
progress.add(len(items))

for item in items:
    process(item)
    progress.done(1)
```

Source: https://tilebox.com/docs/api-reference/python/tilebox.workflows/ProgressUpdate.done/index.mdx
