Skip to content

Commit 600bec0

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit b5460dd of spec repo
1 parent 146972c commit 600bec0

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38219,6 +38219,10 @@ components:
3821938219
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.
3822038220
example: I42TEO
3822138221
type: string
38222+
broken_test:
38223+
description: Whether every non-skipped run of the test failed over the last 7 days.
38224+
example: false
38225+
type: boolean
3822238226
codeowners:
3822338227
description: The name of the test's code owners as inferred from the repository configuration.
3822438228
example: ["@foo", "@bar"]

src/datadog_api_client/v2/model/flaky_test_attributes.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ def openapi_types(_):
4242

4343
return {
4444
"attempt_to_fix_id": (str,),
45+
"broken_test": (bool,),
4546
"codeowners": ([str],),
4647
"envs": ([str],),
4748
"first_flaked_branch": (str,),
@@ -66,6 +67,7 @@ def openapi_types(_):
6667

6768
attribute_map = {
6869
"attempt_to_fix_id": "attempt_to_fix_id",
70+
"broken_test": "broken_test",
6971
"codeowners": "codeowners",
7072
"envs": "envs",
7173
"first_flaked_branch": "first_flaked_branch",
@@ -91,6 +93,7 @@ def openapi_types(_):
9193
def __init__(
9294
self_,
9395
attempt_to_fix_id: Union[str, UnsetType] = unset,
96+
broken_test: Union[bool, UnsetType] = unset,
9497
codeowners: Union[List[str], UnsetType] = unset,
9598
envs: Union[List[str], UnsetType] = unset,
9699
first_flaked_branch: Union[str, UnsetType] = unset,
@@ -122,6 +125,9 @@ def __init__(
122125
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.
123126
:type attempt_to_fix_id: str, optional
124127
128+
:param broken_test: Whether every non-skipped run of the test failed over the last 7 days.
129+
:type broken_test: bool, optional
130+
125131
:param codeowners: The name of the test's code owners as inferred from the repository configuration.
126132
:type codeowners: [str], optional
127133
@@ -194,6 +200,8 @@ def __init__(
194200
"""
195201
if attempt_to_fix_id is not unset:
196202
kwargs["attempt_to_fix_id"] = attempt_to_fix_id
203+
if broken_test is not unset:
204+
kwargs["broken_test"] = broken_test
197205
if codeowners is not unset:
198206
kwargs["codeowners"] = codeowners
199207
if envs is not unset:

0 commit comments

Comments
 (0)