Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
8 changes: 8 additions & 0 deletions src/datadog_api_client/v2/model/flaky_test_attributes.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def openapi_types(_):

return {
"attempt_to_fix_id": (str,),
"broken_test": (bool,),
"codeowners": ([str],),
"envs": ([str],),
"first_flaked_branch": (str,),
Expand All @@ -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",
Expand All @@ -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,
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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:
Expand Down
Loading