i6_core.report.report
¶
- class i6_core.report.report.GenerateReportStringJob(*args, **kwargs)¶
Job to generate and output a report string
- Parameters:
report_values – Can be either directly callable or a dict which then is handled by report_template
report_template – Function to handle report_values of type _Report_Type
compress – Whether to zip the report
- run()¶
- tasks()¶
- Returns:
yields Task’s
- Return type:
list[sisyphus.task.Task]
- class i6_core.report.report.MailJob(*args, **kwargs)¶
Job that sends a mail upon completion of an output
- Parameters:
result – graph output that triggers sending the mail
subject – Subject of the mail
mail_address – Mail address of recipient (default: user)
send_contents – send the contents of result in body of the mail
- run()¶
- tasks()¶
- Returns:
yields Task’s
- Return type:
list[sisyphus.task.Task]