Skip to content

Notebook.datasets

Datasets linked to this notebook.

Sourced from GET /api/notebooks/{id}/bootstrap, which embeds the linked datasets. There is no /api/notebooks/{id}/datasets route and GET /api/datasets/ does not accept a notebook_id filter, so this cannot be a lazily-paginated collection — the association is only exposed inline. Returns a cloudsprite._resultset.ResultSet so it still supports first() / count() / to_dataframe().

Signature

@property
datasets -> ResultSet[Dataset]

HTTP parameters

Name In Type Required Default
notebook_id path string yes -
width_px query integer no -

Return shape

HTTP 200 — OK

Schema: NotebookBootstrapOut

Field Type Required
axis_files array<NotebookBootstrapAxisFileSchema> no
axis_refs array<NotebookBootstrapAxisRefSchema> no
datasets array<NotebookBootstrapDatasetSchema> no
file_plans array<NotebookBootstrapFilePlanSchema> no
ignored_refs array<NotebookBootstrapIgnoredRefSchema> no
notebook NotebookBootstrapNotebookSchema yes
version string no

Permission

Required permission: notebook:read

HTTP

GET /api/notebooks/{id}/bootstrap (getNotebookBootstrap)

Usage

notebook.datasets