deephaven_enterprise.notebook#
- exec_notebook(db, path, globals=None)[source]#
Attempt to exec a Notebook
- Parameters:
db (deephaven_enterprise.database.Database) – DnD Python Database object
path (str) – full path to Notebook, beginning with “/”
globals (dict[str, Any]) – the globals to use for execution of the notebook, if you want to have the variables from your
- Return type:
None
script session available use “globals()”
- meta_import(db, root='notebook')[source]#
Set up a meta importer to enable using a Python import statement that references Deephaven Web console notebooks.
For example, after calling ‘meta_import(db, “notebook”)’; you can then call ‘import notebook.file’ to make the “/file.py” in your Web File Explorer available as a Python module.