nbprint.config.core.Parameters¶
- pydantic model nbprint.config.core.Parameters[source]¶
Bases:
ContextBase,BaseModel- field tags: list[str] [Optional]¶
- field role: Role = Role.PARAMETERS¶
- field ignore: bool = True¶
- generate(metadata: dict | None, config: Configuration | None, parent: BaseModel | None = None, attr: str = '', counter: int | None = None, **_) 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