Skip to content

Commit d3948d3

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit e46a091 of spec repo
1 parent 52a7477 commit d3948d3

3 files changed

Lines changed: 11 additions & 9 deletions

File tree

.generator/schemas/v1/openapi.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2986,6 +2986,8 @@ components:
29862986
type: string
29872987
group_by:
29882988
description: Array of fields to group results by.
2989+
example:
2990+
- "resource_name"
29892991
items:
29902992
description: Field to group results by.
29912993
example: "resource_name"
@@ -3023,6 +3025,8 @@ components:
30233025
- name
30243026
- service
30253027
- stat
3028+
- operation_name
3029+
- group_by
30263030
type: object
30273031
FormulaAndFunctionCloudCostDataSource:
30283032
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)