care.emr.reports.renderer.generators.weasyprint_generator module¶
- class WeasyPrintGeneratorOptions(*, page_size: Literal['A4', 'A3', 'A5', 'Letter', 'Legal'] = 'A4', margin: str = '1cm', orientation: Literal['portrait', 'landscape'] = 'portrait', stylesheets: list[str] = [])¶
Bases:
BaseOptions- model_config: ClassVar[ConfigDict] = {'extra': 'forbid'}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].