Skip to content

Commit 48da530

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit adba4c7 of spec repo (#3739)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent f6ce8cd commit 48da530

5 files changed

Lines changed: 31 additions & 6 deletions

File tree

.generator/schemas/v2/openapi.yaml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36996,7 +36996,11 @@ components:
3699636996
attributes:
3699736997
$ref: "#/components/schemas/FlakyTestAttributes"
3699836998
id:
36999-
description: Test's ID. This ID is the hash of the test's Fully Qualified Name and Git repository ID. On the Test Runs UI it is the same as the `test_fingerprint_fqn` tag.
36999+
description: |-
37000+
Test's ID. This ID is the hash of the test's Fully Qualified Name and Git repository ID. It is the
37001+
value of the `@test.fingerprint_fqn` facet on test events, which you can search on in the Test
37002+
Optimization Explorer to locate a specific test. To filter search results by this ID, use the
37003+
`fingerprint_fqn` search key.
3700037004
type: string
3700137005
type:
3700237006
$ref: "#/components/schemas/FlakyTestType"
@@ -37378,6 +37382,9 @@ components:
3737837382
- `@git.branch`
3737937383
- `@test.codeowners`
3738037384
- `env`
37385+
- `fingerprint_fqn`
37386+
37387+
Use `fingerprint_fqn` to filter by a test's stable Fingerprint FQN (the same value as the test's `id`).
3738137388
example: 'flaky_test_state:active @git.repository.id_v2:"github.com/datadog/shopist"'
3738237389
type: string
3738337390
type: object
@@ -106707,7 +106714,11 @@ components:
106707106714
description: Details of what tests to update and their new attributes.
106708106715
properties:
106709106716
id:
106710-
description: The ID of the flaky test. This is the same ID returned by the Search flaky tests endpoint and corresponds to the test_fingerprint_fqn field in test run events.
106717+
description: |-
106718+
The ID of the flaky test. This is the same ID returned by the Search flaky tests endpoint and is the
106719+
value of the `@test.fingerprint_fqn` facet on test events. You can find it by searching on
106720+
`@test.fingerprint_fqn` in the Test Optimization Explorer, or by filtering the Search flaky tests
106721+
endpoint with the `fingerprint_fqn` key.
106711106722
example: 4eb1887a8adb1847
106712106723
type: string
106713106724
new_state:
@@ -106777,7 +106788,10 @@ components:
106777106788
description: Error message if the update failed.
106778106789
type: string
106779106790
id:
106780-
description: The ID of the flaky test from the request. This is the same ID returned by the Search flaky tests endpoint and corresponds to the test_fingerprint_fqn field in test run events.
106791+
description: |-
106792+
The ID of the flaky test from the request. This is the value of the `@test.fingerprint_fqn` facet
106793+
on test events, the same ID accepted by the update request and returned by the Search flaky tests
106794+
endpoint.
106781106795
example: 4eb1887a8adb1847
106782106796
type: string
106783106797
success:

src/datadog_api_client/v2/model/flaky_test.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,10 @@ def __init__(
4949
:param attributes: Attributes of a flaky test.
5050
:type attributes: FlakyTestAttributes, optional
5151
52-
:param id: Test's ID. This ID is the hash of the test's Fully Qualified Name and Git repository ID. On the Test Runs UI it is the same as the ``test_fingerprint_fqn`` tag.
52+
:param id: Test's ID. This ID is the hash of the test's Fully Qualified Name and Git repository ID. It is the
53+
value of the ``@test.fingerprint_fqn`` facet on test events, which you can search on in the Test
54+
Optimization Explorer to locate a specific test. To filter search results by this ID, use the
55+
``fingerprint_fqn`` search key.
5356
:type id: str, optional
5457
5558
:param type: The type of the flaky test from Flaky Test Management.

src/datadog_api_client/v2/model/flaky_tests_search_filter.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ def __init__(
4949
* ``@git.branch``
5050
* ``@test.codeowners``
5151
* ``env``
52+
* ``fingerprint_fqn``
53+
54+
Use ``fingerprint_fqn`` to filter by a test's stable Fingerprint FQN (the same value as the test's ``id`` ).
5255
:type query: str, optional
5356
"""
5457
if include_history is not unset:

src/datadog_api_client/v2/model/update_flaky_tests_request_test.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@ def __init__(self_, id: str, new_state: UpdateFlakyTestsRequestTestNewState, **k
3838
"""
3939
Details of what tests to update and their new attributes.
4040
41-
:param id: The ID of the flaky test. This is the same ID returned by the Search flaky tests endpoint and corresponds to the test_fingerprint_fqn field in test run events.
41+
:param id: The ID of the flaky test. This is the same ID returned by the Search flaky tests endpoint and is the
42+
value of the ``@test.fingerprint_fqn`` facet on test events. You can find it by searching on
43+
``@test.fingerprint_fqn`` in the Test Optimization Explorer, or by filtering the Search flaky tests
44+
endpoint with the ``fingerprint_fqn`` key.
4245
:type id: str
4346
4447
:param new_state: The new state to set for the flaky test.

src/datadog_api_client/v2/model/update_flaky_tests_response_result.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ def __init__(self_, id: str, success: bool, error: Union[str, UnsetType] = unset
3535
:param error: Error message if the update failed.
3636
:type error: str, optional
3737
38-
:param id: The ID of the flaky test from the request. This is the same ID returned by the Search flaky tests endpoint and corresponds to the test_fingerprint_fqn field in test run events.
38+
:param id: The ID of the flaky test from the request. This is the value of the ``@test.fingerprint_fqn`` facet
39+
on test events, the same ID accepted by the update request and returned by the Search flaky tests
40+
endpoint.
3941
:type id: str
4042
4143
:param success: ``True`` if the update was successful, ``False`` if there were any errors.

0 commit comments

Comments
 (0)