I have developed a dashboard in Bokeh that is running as a server (in Dataiku environment). Now, I need to export the page (actually a rearranged selection of the charts and tables) as a PDF, but an HTML file would be also good.
I expect to have a button “Generate report!”. Upon click I will get a dialog offering the download of the PDF/HTML report.
The first problem is - how can I generate the file on the fly and serve it via the dialog without saving the file on the server first? Or do I have to save it first?