From fbffced1d2b56029725fbea6247aeea8110ff8d0 Mon Sep 17 00:00:00 2001 From: Test User Date: Wed, 15 Mar 2023 09:35:56 +0000 Subject: [PATCH] =?UTF-8?q?refactor:=20=F0=9F=92=A1=20don't=20show=20the?= =?UTF-8?q?=20tqdm=20bars?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/api/src/api/routes/rows.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/services/api/src/api/routes/rows.py b/services/api/src/api/routes/rows.py index 7b47edc931..0f9ed15a29 100644 --- a/services/api/src/api/routes/rows.py +++ b/services/api/src/api/routes/rows.py @@ -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: