def generate(self, *args, **kwargs):
        """
        Implementation for the generate method defined in ReportBase.
        Generates a html report and saves it.

        :param args: 1 argument, which is the filename
        :param kwargs: 3 keyword arguments with keys 'title', 'heads' and 'refresh'
        :return: Nothing.
        """
        title = kwargs.get("title")
        heads = kwargs.get("heads")
        refresh = kwargs.get("refresh")
        filename = args[0]
        report = self._create(title, heads, refresh, path_start=os.path.dirname(filename))
        ReportHtml.save(report, filename)
def generate ( self , * args , ** kwargs ) : title = kwargs . get ( "title" ) heads = kwargs . get ( "heads" ) refresh = kwargs . get ( "refresh" ) filename = args [ 0 ] report = self . _create ( title , heads , refresh , path_start = os . path . dirname ( filename ) ) ReportHtml . save ( report , filename )
Implementation for the generate method defined in ReportBase.
        Generates a html report and saves it.

        :param args: 1 argument, which is the filename
        :param kwargs: 3 keyword arguments with keys 'title', 'heads' and 'refresh'
        :return: Nothing.