@public<EOL>def eta_bar(msg, max_value):
widgets = [<EOL>"<STR_LIT>".format(msg=msg),<EOL>progressbar.Bar(), '<STR_LIT:U+0020>', progressbar.AdaptiveETA(),<EOL>]<EOL>return progressbar.ProgressBar(widgets=widgets, max_value=max_value)<EOL>
Display an adaptive ETA / countdown bar with a message.

    Parameters
    ----------
    msg: str
        Message to prefix countdown bar line with

    max_value: max_value
        The max number of progress bar steps/updates