Dash DAQ - Is it possible to use GraduatedBar to display progress of iteration?

Hi there,
I am curious, if I could use GraduatedBar for showing the progress of iteration running on background.

The code I hacked looks like this:

    @gui.callback(
    Output('queries_progress_bar', 'value'),
    [Input('store_01', 'data')]
)
def run_query(data):
    tstamp = timestamp()

    for file in files:
        if data is None:
            PreventUpdate
            break

        else:
            output = list()
            for x, each in enumerate(data):
                if isinstance(each, list) and (file in each):
                    output.append(file)

                elif x in [1, 2]:
                    output.append(each.replace('-', '').strip())

                else:
                    output.append(each.strip())

            query(output, tstamp)

Problem: how to increment GraduatedBar value for each iteration loop?

Any advice would be really helpful.

Thanks

RB