Jam.py documentation

on_generate

on_generate(report)

domain: client

language: python

class Report class

Description

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.