get_run
Retrieve a dbnl Run
dbnl.get_run(
*,
run_id: str,
) -> Run:Parameters
Arguments
Description
Returns
Type
Description
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"}])
run1 = dbnl.create_run(project=proj1, run_config=runcfg1)
# Retrieving the Run by ID
run2 = dbnl.get_run(run_id=run1.id)
assert run1.id == run2.id
# DBNLRunNotFoundError: A DBNL Run with id run_0000000 does not exist.
run3 = dbnl.get_run(run_id="run_0000000")Was this helpful?

