prepare_incomplete_test_spec_payload

Formats an incomplete Test Spec JSON

dbnl.experimental.prepare_incomplete_test_spec_payload(
    *,
    test_spec_dict: IncompleteTestSpecDict,
    project_id: Optional[str] = None,
) -> Dict[str, Any]:

Parameters

Arguments
Description

test_spec_dict

A dictionary of the Test Spec schema. Fields that might be missing in this dict include project_id and tag_ids

project_id

The ID of the dbnl Project this Test Spec will be created for.

Returns

Type
Description

TestSpecDict

An acceptable dict Test Spec schema.

Last updated

Was this helpful?