Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

GRIF-218: Fix operation status #277

Merged
merged 3 commits into from
Jan 10, 2024
Merged

GRIF-218: Fix operation status #277

merged 3 commits into from
Jan 10, 2024

Conversation

JakubFrejlach
Copy link
Collaborator

This PR:

  • adds new parameters for progress_bar decorator, namely is_updatable and initial_status (see respective commits for extensive description)
  • fixes errors of progress bar in several commands that were introduced in !270
  • minor - fixes error in raw json transform

Added parameter is_editable to progress_bar decorator which is set to
False by default. If set to False, no additional operation_status
parameter is needed in the decorated function and progress bar simply
shows default operation status (or initial_status which is also
possible to newly set). If set to True, operation_status parameter is
needed in decorated function and via this parameter the progress bar
can be paused and status updated.
Copy link
Collaborator

@JimFuller-RedHat JimFuller-RedHat left a comment

Choose a reason for hiding this comment

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

LGTM - thx for sorting this out

@JimFuller-RedHat JimFuller-RedHat merged commit 545df7c into main Jan 10, 2024
4 checks passed
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