Skip to content

Commit 3af8554

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 2c81a59 of spec repo
1 parent 2ffd8d1 commit 3af8554

20 files changed

Lines changed: 1371 additions & 0 deletions

.generator/schemas/v2/openapi.yaml

Lines changed: 439 additions & 0 deletions
Large diffs are not rendered by default.

docs/datadog_api_client.v2.model.rst

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18855,6 +18855,41 @@ datadog\_api\_client.v2.model.llm\_obs\_dataset\_data\_response module
1885518855
:members:
1885618856
:show-inheritance:
1885718857

18858+
datadog\_api\_client.v2.model.llm\_obs\_dataset\_draft\_state\_data module
18859+
--------------------------------------------------------------------------
18860+
18861+
.. automodule:: datadog_api_client.v2.model.llm_obs_dataset_draft_state_data
18862+
:members:
18863+
:show-inheritance:
18864+
18865+
datadog\_api\_client.v2.model.llm\_obs\_dataset\_draft\_state\_data\_attributes module
18866+
--------------------------------------------------------------------------------------
18867+
18868+
.. automodule:: datadog_api_client.v2.model.llm_obs_dataset_draft_state_data_attributes
18869+
:members:
18870+
:show-inheritance:
18871+
18872+
datadog\_api\_client.v2.model.llm\_obs\_dataset\_draft\_state\_response module
18873+
------------------------------------------------------------------------------
18874+
18875+
.. automodule:: datadog_api_client.v2.model.llm_obs_dataset_draft_state_response
18876+
:members:
18877+
:show-inheritance:
18878+
18879+
datadog\_api\_client.v2.model.llm\_obs\_dataset\_draft\_state\_type module
18880+
--------------------------------------------------------------------------
18881+
18882+
.. automodule:: datadog_api_client.v2.model.llm_obs_dataset_draft_state_type
18883+
:members:
18884+
:show-inheritance:
18885+
18886+
datadog\_api\_client.v2.model.llm\_obs\_dataset\_draft\_state\_user module
18887+
--------------------------------------------------------------------------
18888+
18889+
.. automodule:: datadog_api_client.v2.model.llm_obs_dataset_draft_state_user
18890+
:members:
18891+
:show-inheritance:
18892+
1885818893
datadog\_api\_client.v2.model.llm\_obs\_dataset\_record\_data\_response module
1885918894
------------------------------------------------------------------------------
1886018895

@@ -18981,6 +19016,34 @@ datadog\_api\_client.v2.model.llm\_obs\_dataset\_update\_request module
1898119016
:members:
1898219017
:show-inheritance:
1898319018

19019+
datadog\_api\_client.v2.model.llm\_obs\_dataset\_version\_data module
19020+
---------------------------------------------------------------------
19021+
19022+
.. automodule:: datadog_api_client.v2.model.llm_obs_dataset_version_data
19023+
:members:
19024+
:show-inheritance:
19025+
19026+
datadog\_api\_client.v2.model.llm\_obs\_dataset\_version\_data\_attributes module
19027+
---------------------------------------------------------------------------------
19028+
19029+
.. automodule:: datadog_api_client.v2.model.llm_obs_dataset_version_data_attributes
19030+
:members:
19031+
:show-inheritance:
19032+
19033+
datadog\_api\_client.v2.model.llm\_obs\_dataset\_version\_type module
19034+
---------------------------------------------------------------------
19035+
19036+
.. automodule:: datadog_api_client.v2.model.llm_obs_dataset_version_type
19037+
:members:
19038+
:show-inheritance:
19039+
19040+
datadog\_api\_client.v2.model.llm\_obs\_dataset\_versions\_response module
19041+
--------------------------------------------------------------------------
19042+
19043+
.. automodule:: datadog_api_client.v2.model.llm_obs_dataset_versions_response
19044+
:members:
19045+
:show-inheritance:
19046+
1898419047
datadog\_api\_client.v2.model.llm\_obs\_datasets\_response module
1898519048
-----------------------------------------------------------------
1898619049

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
"""
2+
Get LLM Observability dataset draft state returns "OK" response
3+
"""
4+
5+
from datadog_api_client import ApiClient, Configuration
6+
from datadog_api_client.v2.api.llm_observability_api import LLMObservabilityApi
7+
8+
configuration = Configuration()
9+
configuration.unstable_operations["get_llm_obs_dataset_draft_state"] = True
10+
with ApiClient(configuration) as api_client:
11+
api_instance = LLMObservabilityApi(api_client)
12+
response = api_instance.get_llm_obs_dataset_draft_state(
13+
project_id="project_id",
14+
dataset_id="dataset_id",
15+
)
16+
17+
print(response)
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
"""
2+
List LLM Observability dataset versions returns "OK" response
3+
"""
4+
5+
from datadog_api_client import ApiClient, Configuration
6+
from datadog_api_client.v2.api.llm_observability_api import LLMObservabilityApi
7+
8+
configuration = Configuration()
9+
configuration.unstable_operations["list_llm_obs_dataset_versions"] = True
10+
with ApiClient(configuration) as api_client:
11+
api_instance = LLMObservabilityApi(api_client)
12+
response = api_instance.list_llm_obs_dataset_versions(
13+
project_id="project_id",
14+
dataset_id="dataset_id",
15+
)
16+
17+
print(response)
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
"""
2+
Lock LLM Observability dataset draft state returns "OK" response
3+
"""
4+
5+
from datadog_api_client import ApiClient, Configuration
6+
from datadog_api_client.v2.api.llm_observability_api import LLMObservabilityApi
7+
8+
configuration = Configuration()
9+
configuration.unstable_operations["lock_llm_obs_dataset_draft_state"] = True
10+
with ApiClient(configuration) as api_client:
11+
api_instance = LLMObservabilityApi(api_client)
12+
response = api_instance.lock_llm_obs_dataset_draft_state(
13+
project_id="project_id",
14+
dataset_id="dataset_id",
15+
)
16+
17+
print(response)
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
"""
2+
Unlock LLM Observability dataset draft state returns "OK" response
3+
"""
4+
5+
from datadog_api_client import ApiClient, Configuration
6+
from datadog_api_client.v2.api.llm_observability_api import LLMObservabilityApi
7+
8+
configuration = Configuration()
9+
configuration.unstable_operations["unlock_llm_obs_dataset_draft_state"] = True
10+
with ApiClient(configuration) as api_client:
11+
api_instance = LLMObservabilityApi(api_client)
12+
api_instance.unlock_llm_obs_dataset_draft_state(
13+
project_id="project_id",
14+
dataset_id="dataset_id",
15+
)

src/datadog_api_client/configuration.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,18 +286,22 @@ def __init__(
286286
"v2.get_llm_obs_annotated_interactions_by_trace_i_ds": False,
287287
"v2.get_llm_obs_annotation_queue_label_schema": False,
288288
"v2.get_llm_obs_custom_eval_config": False,
289+
"v2.get_llm_obs_dataset_draft_state": False,
289290
"v2.list_llm_obs_annotation_queues": False,
290291
"v2.list_llm_obs_dataset_records": False,
291292
"v2.list_llm_obs_datasets": False,
293+
"v2.list_llm_obs_dataset_versions": False,
292294
"v2.list_llm_obs_experiment_events": False,
293295
"v2.list_llm_obs_experiments": False,
294296
"v2.list_llm_obs_integration_accounts": False,
295297
"v2.list_llm_obs_integration_models": False,
296298
"v2.list_llm_obs_projects": False,
297299
"v2.list_llm_obs_spans": False,
300+
"v2.lock_llm_obs_dataset_draft_state": False,
298301
"v2.search_llm_obs_experimentation": False,
299302
"v2.search_llm_obs_spans": False,
300303
"v2.simple_search_llm_obs_experimentation": False,
304+
"v2.unlock_llm_obs_dataset_draft_state": False,
301305
"v2.update_llm_obs_annotation_queue": False,
302306
"v2.update_llm_obs_annotation_queue_label_schema": False,
303307
"v2.update_llm_obs_custom_eval_config": False,

0 commit comments

Comments
 (0)