Skip to content

Commit 1abd697

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit befda92 of spec repo
1 parent 1094859 commit 1abd697

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

.generated-info

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"spec_repo_commit": "a6f5281",
3-
"generated": "2025-08-06 17:43:25.644"
2+
"spec_repo_commit": "befda92",
3+
"generated": "2025-08-06 19:11:29.999"
44
}

.generator/schemas/v2/openapi.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28224,7 +28224,6 @@ components:
2822428224
required:
2822528225
- source
2822628226
- match_rules
28227-
- support_rules
2822828227
type: object
2822928228
ObservabilityPipelineParseGrokProcessorRuleMatchRule:
2823028229
description: 'Defines a Grok parsing rule, which extracts structured fields

src/datadog_api_client/v2/model/observability_pipeline_parse_grok_processor_rule.py

Lines changed: 7 additions & 4 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 List, TYPE_CHECKING
6+
from typing import List, Union, TYPE_CHECKING
77

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

1315

@@ -46,7 +48,7 @@ def __init__(
4648
self_,
4749
match_rules: List[ObservabilityPipelineParseGrokProcessorRuleMatchRule],
4850
source: str,
49-
support_rules: List[ObservabilityPipelineParseGrokProcessorRuleSupportRule],
51+
support_rules: Union[List[ObservabilityPipelineParseGrokProcessorRuleSupportRule], UnsetType] = unset,
5052
**kwargs,
5153
):
5254
"""
@@ -61,10 +63,11 @@ def __init__(
6163
:type source: str
6264
6365
:param support_rules: A list of Grok helper rules that can be referenced by the parsing rules.
64-
:type support_rules: [ObservabilityPipelineParseGrokProcessorRuleSupportRule]
66+
:type support_rules: [ObservabilityPipelineParseGrokProcessorRuleSupportRule], optional
6567
"""
68+
if support_rules is not unset:
69+
kwargs["support_rules"] = support_rules
6670
super().__init__(kwargs)
6771

6872
self_.match_rules = match_rules
6973
self_.source = source
70-
self_.support_rules = support_rules

0 commit comments

Comments
 (0)