# 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](https://docs.dbnl.com/v0.21.x/using-distributional/python-sdk/sdk-functions/run-results/report_results-2).&#x20;

{% hint style="info" %}
A Run must be closed for all [uploaded results](https://docs.dbnl.com/v0.21.x/using-distributional/python-sdk/sdk-functions/run-results/report_results-2) 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="../../sdk-objects/run">Run</a> to be finalized.</td></tr></tbody></table>

## Examples

```python
import dbnl
dbnl.login()

dbnl.close_run(run=my_run)
```

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