Changeset f818af8 in rattail


Ignore:
Timestamp:
07/18/2022 10:27:31 PM (7 months ago)
Author:
Lance Edgar <lance@…>
Branches:
master
Children:
da7eeb9
Parents:
68a17f6
Message:

Stash data when generating report output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rattail/reporting/handlers.py

    r68a17f6 rf818af8  
    104104        session.flush()
    105105
     106        # nb. stash data for the report
     107        # TODO: this is an undocumented feature...
     108        output._generated_data = data
     109
    106110        path = output.filepath(self.config, makedirs=True)
    107111        report.write_file(session, params, data, path, progress=progress, **kwargs)
Note: See TracChangeset for help on using the changeset viewer.