Skip to content

Commit ff691fa

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 4808a1a of spec repo
1 parent bdf7ace commit ff691fa

File tree

3 files changed

+2
-20
lines changed

3 files changed

+2
-20
lines changed

.generator/schemas/v1/openapi.yaml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34051,7 +34051,7 @@ paths:
3405134051
- synthetics_write
3405234052
/api/v1/synthetics/tests/search:
3405334053
get:
34054-
description: Search for Synthetic tests and Test Suites.
34054+
description: Search for Synthetic tests.
3405534055
operationId: SearchTests
3405634056
parameters:
3405734057
- description: The search query.
@@ -34067,12 +34067,6 @@ paths:
3406734067
required: false
3406834068
schema:
3406934069
type: boolean
34070-
- description: If true, returns suites instead of tests.
34071-
in: query
34072-
name: search_suites
34073-
required: false
34074-
schema:
34075-
type: boolean
3407634070
- description: If true, return only facets instead of full test details.
3407734071
in: query
3407834072
name: facets_only

examples/v1/synthetics/SearchTests_195957771.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
response = api_instance.search_tests(
1212
text="tag:value",
1313
include_full_config=True,
14-
search_suites=True,
1514
facets_only=True,
1615
start=10,
1716
count=5,

src/datadog_api_client/v1/api/synthetics_api.py

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -695,11 +695,6 @@ def __init__(self, api_client=None):
695695
"attribute": "include_full_config",
696696
"location": "query",
697697
},
698-
"search_suites": {
699-
"openapi_types": (bool,),
700-
"attribute": "search_suites",
701-
"location": "query",
702-
},
703698
"facets_only": {
704699
"openapi_types": (bool,),
705700
"attribute": "facets_only",
@@ -1438,22 +1433,19 @@ def search_tests(
14381433
*,
14391434
text: Union[str, UnsetType] = unset,
14401435
include_full_config: Union[bool, UnsetType] = unset,
1441-
search_suites: Union[bool, UnsetType] = unset,
14421436
facets_only: Union[bool, UnsetType] = unset,
14431437
start: Union[int, UnsetType] = unset,
14441438
count: Union[int, UnsetType] = unset,
14451439
sort: Union[str, UnsetType] = unset,
14461440
) -> SyntheticsListTestsResponse:
14471441
"""Search Synthetic tests.
14481442
1449-
Search for Synthetic tests and Test Suites.
1443+
Search for Synthetic tests.
14501444
14511445
:param text: The search query.
14521446
:type text: str, optional
14531447
:param include_full_config: If true, include the full configuration for each test in the response.
14541448
:type include_full_config: bool, optional
1455-
:param search_suites: If true, returns suites instead of tests.
1456-
:type search_suites: bool, optional
14571449
:param facets_only: If true, return only facets instead of full test details.
14581450
:type facets_only: bool, optional
14591451
:param start: The offset from which to start returning results.
@@ -1471,9 +1463,6 @@ def search_tests(
14711463
if include_full_config is not unset:
14721464
kwargs["include_full_config"] = include_full_config
14731465

1474-
if search_suites is not unset:
1475-
kwargs["search_suites"] = search_suites
1476-
14771466
if facets_only is not unset:
14781467
kwargs["facets_only"] = facets_only
14791468

0 commit comments

Comments
 (0)