add method

add

Adds an attachment to the PdfContent.

def add(self, file_content, name, description):
    ...
Parameter Type Description
file_content bytes The content of the file to be attached.
name str The name of the file.
description str The description of the file.

See Also