Bring Drag & Drop to Dash with Dashboard Engine. 💫 Learn how at our next webinar!

Download data from dcc.Store as csv?

This question was also risen here (Allowing users to download CSV on click) before, but was not addressed as it was not the main thread.

I would like to download data that is stored in dcc.Store not in a file.

The @app.server.route(’/export/’) construct has no input from dash elements and the app callback cannot return sent_file as it always sends data to a dash object.

Is there a way to convert the data from the dcc.Store to csv and return it with send_file?