Dash progress updates for long callback

I have a long running callback that populates a Pandas DataFrame one row at a time, and when finished outputs a Dash-table. Could I redesign this callback to instead update the Dash-table after each row is added to the Pandas DataFrame?

I know how to implement this using a combination of Dash Interval, Redis, Celery, and asynchronous workers, but that’s overkill for this. Does anyone have a simpler solution? I see that this is an old feature request (Feature request - asynchronous notifications).

1 Like