Skip to content

Commit 769a6d9

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 6c66ed0 of spec repo
1 parent 3ef9e1e commit 769a6d9

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": "b308db8",
3-
"generated": "2025-08-04 15:40:21.840"
2+
"spec_repo_commit": "6c66ed0",
3+
"generated": "2025-08-05 13:45:06.028"
44
}

.generator/schemas/v2/openapi.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28188,7 +28188,6 @@ components:
2818828188
required:
2818928189
- source
2819028190
- match_rules
28191-
- support_rules
2819228191
type: object
2819328192
ObservabilityPipelineParseGrokProcessorRuleMatchRule:
2819428193
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)