Skip to content

Commit 85ffcb3

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 78f7cf9 of spec repo
1 parent 1f9083c commit 85ffcb3

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-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": "df31e44",
3-
"generated": "2025-07-28 19:54:45.232"
2+
"spec_repo_commit": "78f7cf9",
3+
"generated": "2025-07-30 17:35:34.811"
44
}

examples/v1/notebooks/CreateNotebook.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
NotebookCellCreateRequest(
3636
attributes=NotebookMarkdownCellAttributes(
3737
definition=NotebookMarkdownCellDefinition(
38-
text="## Some test markdown\n\n```js\nvar x, y;\nx = 5;\ny = 6;\n```",
38+
text="## Some test markdown\n\n```\nvar x, y;\nx = 5;\ny = 6;\n```",
3939
type=NotebookMarkdownCellDefinitionType.MARKDOWN,
4040
),
4141
),

examples/v1/notebooks/UpdateNotebook.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
NotebookCellCreateRequest(
4040
attributes=NotebookMarkdownCellAttributes(
4141
definition=NotebookMarkdownCellDefinition(
42-
text="## Some test markdown\n\n```js\nvar x, y;\nx = 5;\ny = 6;\n```",
42+
text="## Some test markdown\n\n```\nvar x, y;\nx = 5;\ny = 6;\n```",
4343
type=NotebookMarkdownCellDefinitionType.MARKDOWN,
4444
),
4545
),

tests/v1/features/notebooks.feature

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ Feature: Notebooks
2020
@team:DataDog/notebooks
2121
Scenario: Create a notebook returns "OK" response
2222
Given new "CreateNotebook" request
23-
And body with value {"data": {"attributes": {"cells": [{"attributes": {"definition": {"text": "## Some test markdown\n\n```js\nvar x, y;\nx = 5;\ny = 6;\n```", "type": "markdown"}}, "type": "notebook_cells"}, {"attributes": {"definition": {"requests": [{"display_type": "line", "q": "avg:system.load.1{*}", "style": {"line_type": "solid", "line_width": "normal", "palette": "dog_classic"}}], "show_legend": true, "type": "timeseries", "yaxis": {"scale": "linear"}}, "graph_size": "m", "split_by": {"keys": [], "tags": []}, "time": null}, "type": "notebook_cells"}], "name": "{{ unique }}", "status": "published", "time": {"live_span": "1h"}}, "type": "notebooks"}}
23+
And body with value {"data": {"attributes": {"cells": [{"attributes": {"definition": {"text": "## Some test markdown\n\n```\nvar x, y;\nx = 5;\ny = 6;\n```", "type": "markdown"}}, "type": "notebook_cells"}, {"attributes": {"definition": {"requests": [{"display_type": "line", "q": "avg:system.load.1{*}", "style": {"line_type": "solid", "line_width": "normal", "palette": "dog_classic"}}], "show_legend": true, "type": "timeseries", "yaxis": {"scale": "linear"}}, "graph_size": "m", "split_by": {"keys": [], "tags": []}, "time": null}, "type": "notebook_cells"}], "name": "{{ unique }}", "status": "published", "time": {"live_span": "1h"}}, "type": "notebooks"}}
2424
When the request is sent
2525
Then the response status is 200 OK
2626
And the response "data.type" is equal to "notebooks"
2727
And the response "data.attributes.name" is equal to "{{ unique }}"
28-
And the response "data.attributes.cells[0].attributes.definition.text" is equal to "## Some test markdown\n\n```js\nvar x, y;\nx = 5;\ny = 6;\n```"
28+
And the response "data.attributes.cells[0].attributes.definition.text" is equal to "## Some test markdown\n\n```\nvar x, y;\nx = 5;\ny = 6;\n```"
2929

3030
@skip @team:DataDog/notebooks
3131
Scenario: Delete a notebook returns "Bad Request" response
@@ -123,7 +123,7 @@ Feature: Notebooks
123123
Given new "UpdateNotebook" request
124124
And there is a valid "notebook" in the system
125125
And request contains "notebook_id" parameter from "notebook.data.id"
126-
And body with value {"data": {"attributes": {"cells": [{"attributes": {"definition": {"text": "## Some test markdown\n\n```js\nvar x, y;\nx = 5;\ny = 6;\n```", "type": "markdown"}}, "type": "notebook_cells"}, {"attributes": {"definition": {"requests": [{"display_type": "line", "q": "avg:system.load.1{*}", "style": {"line_type": "solid", "line_width": "normal", "palette": "dog_classic"}}], "show_legend": true, "type": "timeseries", "yaxis": {"scale": "linear"}}, "graph_size": "m", "split_by": {"keys": [], "tags": []}, "time": null}, "type": "notebook_cells"}], "name": "{{ unique }}-updated", "status": "published", "time": {"live_span": "1h"}}, "type": "notebooks"}}
126+
And body with value {"data": {"attributes": {"cells": [{"attributes": {"definition": {"text": "## Some test markdown\n\n```\nvar x, y;\nx = 5;\ny = 6;\n```", "type": "markdown"}}, "type": "notebook_cells"}, {"attributes": {"definition": {"requests": [{"display_type": "line", "q": "avg:system.load.1{*}", "style": {"line_type": "solid", "line_width": "normal", "palette": "dog_classic"}}], "show_legend": true, "type": "timeseries", "yaxis": {"scale": "linear"}}, "graph_size": "m", "split_by": {"keys": [], "tags": []}, "time": null}, "type": "notebook_cells"}], "name": "{{ unique }}-updated", "status": "published", "time": {"live_span": "1h"}}, "type": "notebooks"}}
127127
When the request is sent
128128
Then the response status is 200 OK
129129
And the response "data.attributes.name" is equal to "{{ unique }}-updated"

0 commit comments

Comments
 (0)