Skip to content

Commit

Permalink
Added dask process option
Browse files Browse the repository at this point in the history
Signed-off-by: Suhail Rehman <suhailrehman@gmail.com>
  • Loading branch information
suhailrehman committed Jun 21, 2022
1 parent 600cd44 commit af92295
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion fuzzydata/clients/modin.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ def __init__(self, *args, **kwargs):

if self.modin_engine == 'dask':
from dask.distributed import Client
Client()
processes = kwargs.pop('processes', False)
Client(processes=processes)
else:
import ray
ray.init(ignore_reinit_error=True)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name="fuzzydata",
version="0.0.4",
version="0.0.5",
scripts=['./scripts/fuzzydata'],
author="Suhail Rehman",
author_email="suhailrehman@gmail.com",
Expand Down

0 comments on commit af92295

Please sign in to comment.