From 2cabb2dd8bcad09eb8df8ebd243317b391079957 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Fri, 14 Aug 2026 13:59:32 +0000 Subject: [PATCH] Regenerate client from commit 22f067f of spec repo --- .generator/schemas/v2/openapi.yaml | 4 ++-- src/datadog_api_client/v2/api/llm_observability_api.py | 3 ++- .../llm_obs_annotation_queue_data_attributes_request.py | 7 ++++--- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index fcf5fd48e2..ee9db84ef4 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -55239,7 +55239,6 @@ components: type: string required: - name - - project_id type: object LLMObsAnnotationQueueDataAttributesResponse: description: Attributes of an LLM Observability annotation queue. @@ -158838,7 +158837,8 @@ paths: If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). post: description: |- - Create an annotation queue. The `name` and `project_id` fields are required. + Create an annotation queue. The `name` field is required. + Optionally associate the queue with a project by providing `project_id`. An optional `annotation_schema` can be provided to define the labels for the queue. Fields such as `created_by`, `owned_by`, `created_at`, `modified_by`, and `modified_at` are inferred by the backend. diff --git a/src/datadog_api_client/v2/api/llm_observability_api.py b/src/datadog_api_client/v2/api/llm_observability_api.py index 360532f054..6e41752df1 100644 --- a/src/datadog_api_client/v2/api/llm_observability_api.py +++ b/src/datadog_api_client/v2/api/llm_observability_api.py @@ -2269,7 +2269,8 @@ def create_llm_obs_annotation_queue( ) -> LLMObsAnnotationQueueResponse: """Create an LLM Observability annotation queue. - Create an annotation queue. The ``name`` and ``project_id`` fields are required. + Create an annotation queue. The ``name`` field is required. + Optionally associate the queue with a project by providing ``project_id``. An optional ``annotation_schema`` can be provided to define the labels for the queue. Fields such as ``created_by`` , ``owned_by`` , ``created_at`` , ``modified_by`` , and ``modified_at`` are inferred by the backend. diff --git a/src/datadog_api_client/v2/model/llm_obs_annotation_queue_data_attributes_request.py b/src/datadog_api_client/v2/model/llm_obs_annotation_queue_data_attributes_request.py index 39ef4499ca..3051c22c2a 100644 --- a/src/datadog_api_client/v2/model/llm_obs_annotation_queue_data_attributes_request.py +++ b/src/datadog_api_client/v2/model/llm_obs_annotation_queue_data_attributes_request.py @@ -39,9 +39,9 @@ def openapi_types(_): def __init__( self_, name: str, - project_id: str, annotation_schema: Union[LLMObsAnnotationSchema, UnsetType] = unset, description: Union[str, UnsetType] = unset, + project_id: Union[str, UnsetType] = unset, **kwargs, ): """ @@ -57,13 +57,14 @@ def __init__( :type name: str :param project_id: Identifier of the project this queue belongs to. - :type project_id: str + :type project_id: str, optional """ if annotation_schema is not unset: kwargs["annotation_schema"] = annotation_schema if description is not unset: kwargs["description"] = description + if project_id is not unset: + kwargs["project_id"] = project_id super().__init__(kwargs) self_.name = name - self_.project_id = project_id