nbprint.config.content.ContentImage

pydantic model nbprint.config.content.ContentImage[source]

Bases: Content

field path: Annotated[Path, PathType(path_type=file)] | None = None
field content: bytes | None = b''
field tags: Annotated[list[str], SerializeAsAny()] [Optional]
ContentImage.convert_path_from_obj[source]
ContentImage.convert_content_from_obj[source]
as_base64() str[source]