dbnl.experimental
create_test
dbnl.experimental.create_test(*, test_spec_dict: TestSpecDict) → dict[str, Any]Test Spec JSON Structure
{
"project_id": string,
# Test data
"name": string, // must be unique to Project
"description": string | null,
"statistic_name": string,
"statistic_params": map[string, any],
"statistic_inputs": list[
{
"select_query_template": {
"select": string, // a column or a function on column(s)
"filter": string | null
}
}
],
"assertion": {
"name": string,
"params": map[string, any]
},
"tag_ids": string[] | null
}get_or_create_tag
Sample Test Tag JSON
get_test_sessions
get_tests
Sample Test JSON
prepare_incomplete_test_spec_payload
wait_for_test_session
Was this helpful?

