CodeContext#

class rubin.nublado.client.CodeContext(node=None, image=None, notebook=None, cell=None, cell_number=None)#

Bases: object

Optional context for exception reporting during code execution.

This class can be passed into some NubladoClient methods and will be used to annotate any raised exceptions with any available context information.

Parameters:
  • node (str | None, default: None)

  • image (str | None, default: None)

  • notebook (str | None, default: None)

  • cell (str | None, default: None)

  • cell_number (str | None, default: None)

Attributes Summary

cell

Identifier of notebook cell (usually a UUID).

cell_number

Number of the notebook cell.

image

Docker image used for JupyterLab.

node

Name of the node on which the JupyterLab is running.

notebook

Name of the notebook.

Attributes Documentation

cell: str | None = None#

Identifier of notebook cell (usually a UUID).

cell_number: str | None = None#

Number of the notebook cell.

image: str | None = None#

Docker image used for JupyterLab.

node: str | None = None#

Name of the node on which the JupyterLab is running.

notebook: str | None = None#

Name of the notebook.