get_latest_run_config

Retrieve the most recent dbnl RunConfig

dbnl.get_latest_run_config(
    *,
    project: ,
) -> :

Parameters

Arguments
Description

project

The Project this RunConfig is associated with.

Returns

Type
Description

The dbnl RunConfig most recently created in the Project.

Examples

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

Last updated

Was this helpful?