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

[UX] change tqdm progress bar color to green #8831

Merged
merged 8 commits into from
May 21, 2024
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
Loading