Skip to content

Commit 7e09d16

Browse files
committed
chore: replace map by imap for tqdm
1 parent debb637 commit 7e09d16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyrdf2vec/walkers/walker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def extract(
153153
with multiprocessing.Pool(process, self._init_worker, [kg]) as pool:
154154
res = list(
155155
tqdm(
156-
pool.map(self._proc, entities),
156+
pool.imap(self._proc, entities),
157157
total=len(entities),
158158
disable=True if verbose == 0 else False,
159159
)

0 commit comments

Comments
 (0)