Python Lambda Function With Multiple Inputs Html To Pdf