Skip to content

Conversation

jpc
Copy link
Contributor

@jpc jpc commented Oct 23, 2024

You can trigger the error like this:

for x in progress_bar([], total='noinfer'):
    pass

The fix is to initialize the counter outside of the loop so it work even if no iterations were done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant