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

Feature: StepsFuture #367

Draft
wants to merge 33 commits into
base: feature/steps-future-only
Choose a base branch
from

Conversation

mdickinson
Copy link
Member

This work-in-progress PR adds a new background task type, used via a new submit_steps callable, which returns a StepsFuture.

This is more-or-less a glorified version of the existing submit_progress and ProgressFuture, except that the StepsFuture model has a built-in understanding of progress steps, while the ProgressFuture just accepts arbitrary progress "messages" from the background task.

There's an example script docs/source/guide/examples/progress_dialogs.py that demonstrates a progress-bar-based UI for the StepsFuture.

Still to do:

  • tests
  • documentation

@Corwinpro
Copy link

The example looks amazing. I am still going through the code, but I would love to start using StepsFuture in our applications.

@mdickinson mdickinson changed the base branch from main to feature/steps-future-only August 16, 2021 17:00
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