Skip to content

Commit

Permalink
chore: fix progressbar description
Browse files Browse the repository at this point in the history
  • Loading branch information
hanxiao committed Mar 11, 2022
1 parent 78ea85f commit 47d6986
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docarray/array/mixins/io/binary.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,9 @@ def _load_binary_all(
start_pos = 9
docs = []

for _ in track(range(num_docs), disable=not show_progress):
for _ in track(
range(num_docs), description='Deserializing', disable=not show_progress
):
# 4 bytes (uint32)
len_current_doc_in_bytes = int.from_bytes(
d[start_pos : start_pos + 4], 'big', signed=False
Expand Down

0 comments on commit 47d6986

Please sign in to comment.