Skip to content

Commit

Permalink
Consistency
Browse files Browse the repository at this point in the history
Co-authored-by: Honoré Hounwanou <[email protected]>
  • Loading branch information
jstlaurent and mercuryseries authored Jan 27, 2025
1 parent d4997a8 commit 54f3e21
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions polaris/hub/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ def get_benchmark(
Returns:
A `BenchmarkSpecification` instance, if it exists.
"""
with track_progress("Fetching benchmark", 1):
with track_progress(description="Fetching benchmark", total=1):
try:
return self._get_v1_benchmark(owner, name, verify_checksum)
except PolarisRetrieveArtifactError:
Expand Down Expand Up @@ -675,7 +675,7 @@ def _upload_v2_dataset(
Upload a V2 dataset to the Polaris Hub.
"""

with track_progress(description="Uploading dataset.", total=1) as (progress, task):
with track_progress(description="Uploading dataset", total=1) as (progress, task):
# Get the serialized data-model
dataset.owner = HubOwner.normalize(owner or dataset.owner)
dataset_json = dataset.model_dump(exclude_none=True, by_alias=True)
Expand Down Expand Up @@ -784,7 +784,7 @@ def _upload_v1_benchmark(
access: Grant public or private access to result
owner: Which Hub user or organization owns the artifact. Takes precedence over `benchmark.owner`.
"""
with track_progress(description="Uploading benchmark.", total=1) as (progress, task):
with track_progress(description="Uploading benchmark", total=1) as (progress, task):
# Get the serialized data-model
# We exclude the dataset as we expect it to exist on the hub already.
benchmark.owner = HubOwner.normalize(owner or benchmark.owner)
Expand Down

0 comments on commit 54f3e21

Please sign in to comment.