Notebook
Class: Notebook
Section titled “Class: Notebook”Notebooks run Jupyter Notebook files, and can output content to the storage buckets defined in
workflow_settings.yaml files.
You can create notebooks in the following ways. Available config options are defined in NotebookConfig, and are shared across all the following ways of creating notebooks.
Using action configs files:
actions:- notebook: filename: name.ipynb{ "cells": [] }Using the Javascript API:
notebook("name", { filename: "name.ipynb" }){ "cells": [] }Hierarchy
Section titled “Hierarchy”-
ActionBuilder‹Notebook›
↳ Notebook
Methods
Section titled “Methods”Methods
Section titled “Methods”▸ ipynb(contents: object): Notebook
Sets or overrides the contents of the notebook to run. Not recommended in general; using
separate .ipynb files for notebooks is preferred.
Parameters:
| Name | Type |
|---|---|
contents | object |
Returns: Notebook