Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allows adding an optional description string to customize progress message #18

Merged
merged 1 commit into from
Oct 8, 2019

Conversation

ThHuberResearch
Copy link
Contributor

I think it can be useful for the user to get a more verbose progress update. This PR adds support to set an optional description that is then displayed with every progress update.

pc.set_progress(i+1, len(users), description=f"Processing user {user}.")

Copy link
Owner

@czue czue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this is a good idea! Would be nice to also have docs.

@czue czue merged commit c55d176 into czue:master Oct 8, 2019
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.

2 participants