# get\_latest\_run\_config

<pre class="language-python"><code class="lang-python">dbnl.get_latest_run_config(
    *,
    project: <a data-footnote-ref href="#user-content-fn-1">Project</a>,
) -> <a data-footnote-ref href="#user-content-fn-2">RunConfig</a>:
</code></pre>

## Parameters

<table><thead><tr><th width="274">Arguments</th><th>Description</th></tr></thead><tbody><tr><td><code>project</code></td><td>The <a href="../../sdk-objects/project">Project</a> this RunConfig is associated with.</td></tr></tbody></table>

## Returns

| Type                                                                                             | Description                                              |
| ------------------------------------------------------------------------------------------------ | -------------------------------------------------------- |
| [RunConfig](https://docs.dbnl.com/v0.20.x/using-distributional/python-sdk/sdk-objects/runconfig) | The dbnl RunConfig most recently created in the Project. |

## Examples

```python
import dbnl
dbnl.login()


proj1 = dbnl.get_or_create_project(name="test_p1")
runcfg1 = dbnl.create_run_config(project=proj1, columns=[{"name": "error", "type": "float"}])

# Retrieving the latest RunConfig
runcfg2 = dbnl.get_latest_run_config(project=proj1)
assert runcfg1.id == runcfg2.id
```

[^1]: [Project](https://docs.dbnl.com/v0.20.x/using-distributional/python-sdk/sdk-objects/project)

[^2]: [RunConfig](https://docs.dbnl.com/v0.20.x/using-distributional/python-sdk/sdk-objects/runconfig)
