nbprint.config.core.Parameters

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

Bases: ContextBase, BaseModel

field tags: Annotated[list[str], SerializeAsAny()] [Optional]
field role: Role = Role.PARAMETERS
field ignore: bool = True
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