Type hint for progress bar #1513
Unanswered
dineshbvadhia
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This line passes successfully with mypy (which includes the typeshed tqdm stub).
pbar = tqdm(desc='producer', total=no_items)
Does this mean the 'pbar' doesn't need to be annotated?
Beta Was this translation helpful? Give feedback.
All reactions