Skip to content

Commit 2e585c5

Browse files
authored
Replace all occurrences of n_processes with n_workers. (#12)
1 parent dfcc6a1 commit 2e585c5

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

CHANGES.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ all releases are available on `Anaconda.org
77
<https://anaconda.org/pytask/pytask-parallel>`_.
88

99

10+
0.0.6 - 2021-xx-xx
11+
------------------
12+
13+
- :gh:`12` replaces all occurrences of ``n_processes`` with ``n_workers``.
14+
15+
1016
0.0.5 - 2020-12-28
1117
------------------
1218

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ You can also set the options in one of the configuration files (``pytask.ini``,
8080
# This is the default configuration. Note that, parallelization is turned off.
8181
8282
[pytask]
83-
n_processes = 1
83+
n_workers = 1
8484
parallel_backend = processes # or loky if installed.
8585
8686

src/pytask_parallel/callbacks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def n_workers_callback(value):
1313
elif isinstance(value, str) and value.isdigit():
1414
value = int(value)
1515
else:
16-
raise ValueError("n_processes can either be an integer >= 1, 'auto' or None.")
16+
raise ValueError("n_workers can either be an integer >= 1, 'auto' or None.")
1717

1818
return value
1919

0 commit comments

Comments
 (0)