Fix erroneous mypy warning

This commit is contained in:
Andras Schmelczer 2022-11-05 11:12:34 +01:00
parent 9321539ee7
commit 828f8a9231
No known key found for this signature in database
GPG key ID: 39260B5B0614A13E

View file

@ -147,7 +147,7 @@ def parallel_map(
serialized_map_function = dill.dumps(func, byref=True, recurse=False)
processes = [
ctx.Process(
ctx.Process( # type: ignore
name=f"parallel_map_{config.function_name}_{i}",
target=mapper_function,
daemon=True,