nbprint.config.core.PapermillParameters

pydantic model nbprint.config.core.PapermillParameters[source]

Bases: Parameters

Papermill parameters function implicitly as a dict

field vars: Annotated[dict[str, Any], SerializeAsAny()] [Optional]
generate(metadata: dict, **_) NotebookNode[source]

Generate a notebook node for this model. This will be called before the runtime of the notebook, use it for code generation.

Args:

metadata (dict): common cell metadata

Returns:

NotebookNode: the content of the notebook node