Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add zstd1 support for logs intake endpoints #2467

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2025-03-18 16:20:35.016577",
"spec_repo_commit": "78376979"
"regenerated": "2025-03-21 18:48:53.451084",
"spec_repo_commit": "d35d4ae5"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2025-03-18 16:20:35.031209",
"spec_repo_commit": "78376979"
"regenerated": "2025-03-21 18:48:53.465788",
"spec_repo_commit": "d35d4ae5"
}
}
}
2 changes: 2 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8561,11 +8561,13 @@ components:
- identity
- gzip
- deflate
- zstd1
type: string
x-enum-varnames:
- IDENTITY
- GZIP
- DEFLATE
- ZSTD1
ConvertJobResultsToSignalsAttributes:
description: Attributes for converting historical job results to signals.
properties:
Expand Down
5 changes: 4 additions & 1 deletion src/datadog_api_client/v2/model/content_encoding.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,20 @@ class ContentEncoding(ModelSimple):
"""
HTTP header used to compress the media-type.

:param value: Must be one of ["identity", "gzip", "deflate"].
:param value: Must be one of ["identity", "gzip", "deflate", "zstd1"].
:type value: str
"""

allowed_values = {
"identity",
"gzip",
"deflate",
"zstd1",
}
IDENTITY: ClassVar["ContentEncoding"]
GZIP: ClassVar["ContentEncoding"]
DEFLATE: ClassVar["ContentEncoding"]
ZSTD1: ClassVar["ContentEncoding"]

@cached_property
def openapi_types(_):
Expand All @@ -39,3 +41,4 @@ def openapi_types(_):
ContentEncoding.IDENTITY = ContentEncoding("identity")
ContentEncoding.GZIP = ContentEncoding("gzip")
ContentEncoding.DEFLATE = ContentEncoding("deflate")
ContentEncoding.ZSTD1 = ContentEncoding("zstd1")
Loading