Skip to content

Commit 1758dea

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 0ad6541e of spec repo
1 parent 4a2654b commit 1758dea

File tree

4 files changed

+40
-6
lines changed

4 files changed

+40
-6
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2024-11-15 19:35:11.338557",
8-
"spec_repo_commit": "ad80112e"
7+
"regenerated": "2024-11-19 15:57:29.281583",
8+
"spec_repo_commit": "0ad6541e"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-11-15 19:35:11.356188",
13-
"spec_repo_commit": "ad80112e"
12+
"regenerated": "2024-11-19 15:57:29.299677",
13+
"spec_repo_commit": "0ad6541e"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4654,6 +4654,11 @@ components:
46544654
description: Widget column field.
46554655
example: content
46564656
type: string
4657+
is_clustering_pattern_field_path:
4658+
description: Determines which column is the clustering pattern field column.
4659+
Can only be used with logs_pattern_stream.
4660+
example: true
4661+
type: boolean
46574662
width:
46584663
$ref: '#/components/schemas/ListStreamColumnWidth'
46594664
required:
@@ -4733,6 +4738,12 @@ components:
47334738
ListStreamQuery:
47344739
description: Updated list stream widget.
47354740
properties:
4741+
clustering_pattern_field_path:
4742+
default: message
4743+
description: The field that the logs pattern clustering will be based off
4744+
of. Can only be used with logs_pattern_stream.
4745+
example: message
4746+
type: string
47364747
compute:
47374748
description: Compute configuration for the List Stream Widget. Compute can
47384749
be used only with the logs_transaction_stream (from 1 to 5 items) list

src/datadog_api_client/v1/model/list_stream_column.py

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@
33
# Copyright 2019-Present Datadog, Inc.
44
from __future__ import annotations
55

6-
from typing import TYPE_CHECKING
6+
from typing import Union, TYPE_CHECKING
77

88
from datadog_api_client.model_utils import (
99
ModelNormal,
1010
cached_property,
11+
unset,
12+
UnsetType,
1113
)
1214

1315

@@ -22,24 +24,37 @@ def openapi_types(_):
2224

2325
return {
2426
"field": (str,),
27+
"is_clustering_pattern_field_path": (bool,),
2528
"width": (ListStreamColumnWidth,),
2629
}
2730

2831
attribute_map = {
2932
"field": "field",
33+
"is_clustering_pattern_field_path": "is_clustering_pattern_field_path",
3034
"width": "width",
3135
}
3236

33-
def __init__(self_, field: str, width: ListStreamColumnWidth, **kwargs):
37+
def __init__(
38+
self_,
39+
field: str,
40+
width: ListStreamColumnWidth,
41+
is_clustering_pattern_field_path: Union[bool, UnsetType] = unset,
42+
**kwargs,
43+
):
3444
"""
3545
Widget column.
3646
3747
:param field: Widget column field.
3848
:type field: str
3949
50+
:param is_clustering_pattern_field_path: Determines which column is the clustering pattern field column. Can only be used with logs_pattern_stream.
51+
:type is_clustering_pattern_field_path: bool, optional
52+
4053
:param width: Widget column width.
4154
:type width: ListStreamColumnWidth
4255
"""
56+
if is_clustering_pattern_field_path is not unset:
57+
kwargs["is_clustering_pattern_field_path"] = is_clustering_pattern_field_path
4358
super().__init__(kwargs)
4459

4560
self_.field = field

src/datadog_api_client/v1/model/list_stream_query.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ def openapi_types(_):
4141
from datadog_api_client.v1.model.widget_field_sort import WidgetFieldSort
4242

4343
return {
44+
"clustering_pattern_field_path": (str,),
4445
"compute": ([ListStreamComputeItems],),
4546
"data_source": (ListStreamSource,),
4647
"event_size": (WidgetEventSize,),
@@ -52,6 +53,7 @@ def openapi_types(_):
5253
}
5354

5455
attribute_map = {
56+
"clustering_pattern_field_path": "clustering_pattern_field_path",
5557
"compute": "compute",
5658
"data_source": "data_source",
5759
"event_size": "event_size",
@@ -66,6 +68,7 @@ def __init__(
6668
self_,
6769
data_source: ListStreamSource,
6870
query_string: str,
71+
clustering_pattern_field_path: Union[str, UnsetType] = unset,
6972
compute: Union[List[ListStreamComputeItems], UnsetType] = unset,
7073
event_size: Union[WidgetEventSize, UnsetType] = unset,
7174
group_by: Union[List[ListStreamGroupByItems], UnsetType] = unset,
@@ -77,6 +80,9 @@ def __init__(
7780
"""
7881
Updated list stream widget.
7982
83+
:param clustering_pattern_field_path: The field that the logs pattern clustering will be based off of. Can only be used with logs_pattern_stream.
84+
:type clustering_pattern_field_path: str, optional
85+
8086
:param compute: Compute configuration for the List Stream Widget. Compute can be used only with the logs_transaction_stream (from 1 to 5 items) list stream source.
8187
:type compute: [ListStreamComputeItems], optional
8288
@@ -101,6 +107,8 @@ def __init__(
101107
:param storage: Option for storage location. Feature in Private Beta.
102108
:type storage: str, optional
103109
"""
110+
if clustering_pattern_field_path is not unset:
111+
kwargs["clustering_pattern_field_path"] = clustering_pattern_field_path
104112
if compute is not unset:
105113
kwargs["compute"] = compute
106114
if event_size is not unset:

0 commit comments

Comments
 (0)