Skip to content

Commit 98723b3

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 92891d2 of spec repo
1 parent 353ebae commit 98723b3

3 files changed

Lines changed: 9 additions & 7 deletions

File tree

.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": "f2ae7eb",
3-
"generated": "2025-07-17 19:53:31.439"
2+
"spec_repo_commit": "92891d2",
3+
"generated": "2025-07-17 21:34:39.258"
44
}

.generator/schemas/v2/openapi.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26719,7 +26719,6 @@ components:
2671926719
required:
2672026720
- source
2672126721
- match_rules
26722-
- support_rules
2672326722
type: object
2672426723
ObservabilityPipelineParseGrokProcessorRuleMatchRule:
2672526724
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)