deephaven_enterprise.controller_import¶
- exec_script(path, globals=None)[source]¶
Attempt to exec a controller script
- Return type:
None
- Parameters:
path (str) – full path to the script, beginning with “/”
globals (Dict[str, Any]) – the globals to use for execution of the notebook, if you want to have the variables from your
script session available use “globals()”
- meta_import(root='controller')[source]¶
Set up a meta importer to enable using a Python import statement that references paths from the Persistent Query Controller.
For example, after calling ‘meta_import(“controller”)’; you can then call ‘import controller.file’ to make the “/file.py” from the controller available as a Python module.