Skip to content

Commit

Permalink
refactor: 💡 don't show the tqdm bars
Browse files Browse the repository at this point in the history
  • Loading branch information
severo committed Mar 15, 2023
1 parent fae1418 commit 0bfe8bb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion services/api/src/api/routes/rows.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,11 @@ def index(parquet_cache_kind: str, dataset: str, config: str, split: str) -> Tup
desc = f"{dataset}/{config}/{split}"
try:
parquet_files: List[pq.ParquetFile] = thread_map(
partial(pq.ParquetFile, filesystem=fs), sources, desc=desc, unit="pq"
partial(pq.ParquetFile, filesystem=fs),
sources,
desc=desc,
unit="pq",
tqdm_class=None,
)
# parquet_files: List[pq.ParquetFile] = [pq.ParquetFile(source=source, filesystem=fs) for source in sources]
except Exception as e:
Expand Down

0 comments on commit 0bfe8bb

Please sign in to comment.