diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index d8f50ea930..21af8d0f08 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -38219,6 +38219,10 @@ components: Test runs are tagged with @test.test_management.attempt_to_fix_passed and @test.test_management.is_attempt_to_fix when the attempt to fix workflow is triggered. example: I42TEO type: string + broken_test: + description: Whether every non-skipped run of the test failed over the last 7 days. + example: false + type: boolean codeowners: description: The name of the test's code owners as inferred from the repository configuration. example: ["@foo", "@bar"] diff --git a/src/datadog_api_client/v2/model/flaky_test_attributes.py b/src/datadog_api_client/v2/model/flaky_test_attributes.py index 205f67779a..642fd824ad 100644 --- a/src/datadog_api_client/v2/model/flaky_test_attributes.py +++ b/src/datadog_api_client/v2/model/flaky_test_attributes.py @@ -42,6 +42,7 @@ def openapi_types(_): return { "attempt_to_fix_id": (str,), + "broken_test": (bool,), "codeowners": ([str],), "envs": ([str],), "first_flaked_branch": (str,), @@ -66,6 +67,7 @@ def openapi_types(_): attribute_map = { "attempt_to_fix_id": "attempt_to_fix_id", + "broken_test": "broken_test", "codeowners": "codeowners", "envs": "envs", "first_flaked_branch": "first_flaked_branch", @@ -91,6 +93,7 @@ def openapi_types(_): def __init__( self_, attempt_to_fix_id: Union[str, UnsetType] = unset, + broken_test: Union[bool, UnsetType] = unset, codeowners: Union[List[str], UnsetType] = unset, envs: Union[List[str], UnsetType] = unset, first_flaked_branch: Union[str, UnsetType] = unset, @@ -122,6 +125,9 @@ def __init__( Test runs are tagged with @test.test_management.attempt_to_fix_passed and @test.test_management.is_attempt_to_fix when the attempt to fix workflow is triggered. :type attempt_to_fix_id: str, optional + :param broken_test: Whether every non-skipped run of the test failed over the last 7 days. + :type broken_test: bool, optional + :param codeowners: The name of the test's code owners as inferred from the repository configuration. :type codeowners: [str], optional @@ -194,6 +200,8 @@ def __init__( """ if attempt_to_fix_id is not unset: kwargs["attempt_to_fix_id"] = attempt_to_fix_id + if broken_test is not unset: + kwargs["broken_test"] = broken_test if codeowners is not unset: kwargs["codeowners"] = codeowners if envs is not unset: