domain: client
language: python
class Report class
The on_generate event is triggered by the generate method.
Write the on_generate event handler to generate the content of the report. Use the print_band method to print bands, defined in the report template.
The report parameter is the report that triggered the event.