Skip to content

Commit 8c2c725

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 1f14d1f of spec repo
1 parent 2d6e341 commit 8c2c725

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

.generator/schemas/v1/openapi.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2875,6 +2875,8 @@ components:
28752875
type: string
28762876
group_by:
28772877
description: Array of fields to group results by.
2878+
example:
2879+
- "resource_name"
28782880
items:
28792881
description: Field to group results by.
28802882
example: "resource_name"
@@ -2912,6 +2914,8 @@ components:
29122914
- name
29132915
- service
29142916
- stat
2917+
- operation_name
2918+
- group_by
29152919
type: object
29162920
FormulaAndFunctionCloudCostDataSource:
29172921
description: Data source for Cloud Cost queries.

src/datadog_api_client/v1/model/distribution_widget_histogram_request_query.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def __init__(self, **kwargs):
5252
:type env: str
5353
5454
:param operation_name: Name of operation on service.
55-
:type operation_name: str, optional
55+
:type operation_name: str
5656
5757
:param primary_tag_name: Name of the second primary tag used within APM. Required when `primary_tag_value` is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog
5858
:type primary_tag_name: str, optional

src/datadog_api_client/v1/model/formula_and_function_apm_resource_stats_query_definition.py

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,12 @@ def __init__(
7070
self_,
7171
data_source: FormulaAndFunctionApmResourceStatsDataSource,
7272
env: str,
73+
group_by: List[str],
7374
name: str,
75+
operation_name: str,
7476
service: str,
7577
stat: FormulaAndFunctionApmResourceStatName,
7678
cross_org_uuids: Union[List[str], UnsetType] = unset,
77-
group_by: Union[List[str], UnsetType] = unset,
78-
operation_name: Union[str, UnsetType] = unset,
7979
primary_tag_name: Union[str, UnsetType] = unset,
8080
primary_tag_value: Union[str, UnsetType] = unset,
8181
resource_name: Union[str, UnsetType] = unset,
@@ -94,13 +94,13 @@ def __init__(
9494
:type env: str
9595
9696
:param group_by: Array of fields to group results by.
97-
:type group_by: [str], optional
97+
:type group_by: [str]
9898
9999
:param name: Name of this query to use in formulas.
100100
:type name: str
101101
102102
:param operation_name: Name of operation on service.
103-
:type operation_name: str, optional
103+
:type operation_name: str
104104
105105
:param primary_tag_name: Name of the second primary tag used within APM. Required when ``primary_tag_value`` is specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog
106106
:type primary_tag_name: str, optional
@@ -119,10 +119,6 @@ def __init__(
119119
"""
120120
if cross_org_uuids is not unset:
121121
kwargs["cross_org_uuids"] = cross_org_uuids
122-
if group_by is not unset:
123-
kwargs["group_by"] = group_by
124-
if operation_name is not unset:
125-
kwargs["operation_name"] = operation_name
126122
if primary_tag_name is not unset:
127123
kwargs["primary_tag_name"] = primary_tag_name
128124
if primary_tag_value is not unset:
@@ -133,6 +129,8 @@ def __init__(
133129

134130
self_.data_source = data_source
135131
self_.env = env
132+
self_.group_by = group_by
136133
self_.name = name
134+
self_.operation_name = operation_name
137135
self_.service = service
138136
self_.stat = stat

0 commit comments

Comments
 (0)