care.emr.reports.renderer.generators.registry module

class GeneratorRegistry

Bases: object

classmethod register(format_type: str, generator_class: type[BaseOutputGenerator], mime_type: str, file_extension: str) None
classmethod get(format_type: str) type[BaseOutputGenerator]
classmethod get_format_config(format_type: str) dict[str, str]
classmethod is_registered(format_type: str) bool
classmethod get_all_formats() list[str]
classmethod get_all_generators() dict[str, type[BaseOutputGenerator]]
classmethod get_schema() dict[str, dict[str, Any]]
classmethod unregister(format_type: str) None
classmethod clear() None