> 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-config/get_run_config.md).

# 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="/pages/vfXFauh5ZnUjluqFCP7i">Project</a> this RunConfig is associated with.</td></tr></tbody></table>

## Returns

| Type                                                                           | Description                                              |
| ------------------------------------------------------------------------------ | -------------------------------------------------------- |
| [RunConfig](/v0.21.x/using-distributional/python-sdk/sdk-objects/runconfig.md) | 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](/v0.21.x/using-distributional/python-sdk/sdk-objects/project.md)

[^2]: [RunConfig](/v0.21.x/using-distributional/python-sdk/sdk-objects/runconfig.md)
