render_pdf# Template.render_pdf(*, context=None, item_filter: str = '', request=None) → bytes# Render the template to a PDF byte stream. Parameters: contextdict, optionalAdditional context passed to the rendering engine. item_filterstr, optionalADR query string used to select Item instances. requestHttpRequest, optionalDjango request object, if available. Returns: bytesPDF document bytes. Raises: ADRExceptionIf rendering or PDF generation fails.