> For the complete documentation index, see [llms.txt](https://docs.dbnl.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dbnl.com/v0.21.x/using-distributional/python-sdk/sdk-functions/run/close_run.md).

# close\_run

<pre class="language-python"><code class="lang-python">dbnl.close_run(
    *,
    run: <a data-footnote-ref href="#user-content-fn-1">Run</a>,
) -> None:
</code></pre>

Mark the specified dbnl Run status as completed. Once a Run is marked as closed, it can no longer be used for [reporting Results](/v0.21.x/using-distributional/python-sdk/sdk-functions/run-results/report_results-2.md).&#x20;

{% hint style="info" %}
A Run must be closed for all [uploaded results](/v0.21.x/using-distributional/python-sdk/sdk-functions/run-results/report_results-2.md) to be shown on the UI.
{% endhint %}

## Parameters

<table><thead><tr><th width="213">Arguments</th><th>Description</th></tr></thead><tbody><tr><td><code>run</code></td><td>The dbnl <a href="/pages/QtYyvw16aMflnd2CNWFJ">Run</a> to be finalized.</td></tr></tbody></table>

## Examples

```python
import dbnl
dbnl.login()

dbnl.close_run(run=my_run)
```

[^1]: [Run](/v0.21.x/using-distributional/python-sdk/sdk-objects/run.md)
