Add set_description to `pbar._NoOpPBar`
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.6k
- Forks
- 440
- PR merge metrics
- No merged PRs in 30d
Description
I'm interested in using the set_description method of a tqdm progressbar. If I do that it may make sense to add an empty set_description method to the emcee.pbar._NoOpPBar, so there's no issue if I try to call the method on a dummy placeholder object.
Would such an addition be welcomed, or would you prefer if I handle the absence of the method in user space?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Search the emcee source for pbar._NoOpPBar and inspect its existing placeholder methods alongside the progress-bar interface. Add the empty set_description method and verify that calling it on the dummy object completes without error; the issue does not mention a test file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100