Skip to content
This repository has been archived by the owner on May 16, 2022. It is now read-only.

Added function "wait_for_results" that does just that (and returns re… #41

Open
wants to merge 1 commit into
base: DEV3
Choose a base branch
from

Conversation

mellesies
Copy link
Member

Added function to wait for result and display a progress bar while doing it.
Adds rich as a dependency (https://github.com/Textualize/rich/tree/656b7a185d7f7c3a1f28e58f74683d03ab4349a9).

@frankcorneliusmartin frankcorneliusmartin self-requested a review April 4, 2022 12:51
Copy link
Member

@frankcorneliusmartin frankcorneliusmartin left a comment

Choose a reason for hiding this comment

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

@mellesies ill make the needed changes myself 👍

import dateutil
import time
from datetime import datetime

Choose a reason for hiding this comment

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

imports need to be sorted

try:
from rich.progress import Progress, ProgressColumn, SpinnerColumn, TimeElapsedColumn
from rich.text import Text
from rich.table import Column

Choose a reason for hiding this comment

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

Move try, except block to the import section

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants