add
Class: mlreportgen.report.Report
Namespace: mlreportgen.report
(Not recommended) Add content to report
Syntax
add(report,content)
Description
Note
add is not recommended. Use append instead. See Version History.
add( adds
the specified report,content)content to the report. If the status of the report is
"unopened", the add method sets the status to
"open" and appends the content. If the status of the report is
set to "closed", the add method returns an error
message. For more information on report status, see OpenStatus.
Note
You can add a reporter to a report multiple times, but you cannot add the reporter
to different reports. For example, if you add an
mlreportgen.report.TitlePage reporter to one report, you cannot
add it to another report.