care.emr.reports.renderer.generators.html_generator module¶ class HTMLGeneratorOptions(*, wrap_document: bool = False, title: str = 'Report', charset: str = 'utf-8')¶ Bases: BaseOptions wrap_document: bool¶ title: str¶ charset: str¶ model_config: ClassVar[ConfigDict] = {'extra': 'forbid'}¶ Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict]. class HTMLGenerator¶ Bases: BaseOutputGenerator options_model¶ alias of HTMLGeneratorOptions generate(html: str, options: HTMLGeneratorOptions | None = None) → bytes¶ get_format() → str¶ get_supported_options() → dict[str, Any]¶ get_http_response(content)¶