Skip to content

Commit

Permalink
Merge pull request #8831 from khoaguin/tqdm-progress-bar-green
Browse files Browse the repository at this point in the history
[UX] change tqdm progress bar color to green
  • Loading branch information
khoaguin authored May 21, 2024
2 parents c831d5f + 2981b3d commit 92bee46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/syft/src/syft/client/domain_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def upload_dataset(self, dataset: CreateDataset) -> SyftSuccess | SyftError:
)
prompt_warning_message(message=message, confirm=True)

for asset in tqdm(dataset.asset_list):
for asset in tqdm(dataset.asset_list, colour="green"):
print(f"Uploading: {asset.name}")
try:
twin = TwinObject(
Expand Down
1 change: 1 addition & 0 deletions packages/syft/src/syft/store/blob_storage/seaweedfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ def write(self, data: BytesIO) -> SyftSuccess | SyftError:
with tqdm(
total=total_iterations,
desc=f"Uploading progress", # noqa
colour="green",
) as pbar:
for part_no, url in enumerate(
self.urls,
Expand Down

0 comments on commit 92bee46

Please sign in to comment.