Skip to content

Commit

Permalink
REFACTOR-#4229: remove unused dask_client global variable in modin\pa…
Browse files Browse the repository at this point in the history
…ndas\__init__.py

Signed-off-by: Anatoly Myachev <anatoly.myachev@intel.com>
  • Loading branch information
anmyachev committed Feb 18, 2022
1 parent aac01b2 commit 05f199a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions docs/release_notes/release_notes-0.14.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Key Features and Updates
*
* Refactor Codebase
* REFACTOR-#3990: remove code duplication in `PandasDataframePartition` hierarchy (#3991)
* REFACTOR-#4229: remove unused `dask_client` global variable in `modin\pandas\__init__.py` (#4230)
* REFACTOR-#3997: remove code duplication for `broadcast_apply` method (#3996)
* REFACTOR-#4213: Refactor `modin/examples/tutorial/` directory (#4214)
* REFACTOR-#4206: add assert check into `__init__` method of `PandasOnDaskDataframePartition` class (#4207)
Expand Down
2 changes: 0 additions & 2 deletions modin/pandas/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,12 @@
os.environ["OMP_NUM_THREADS"] = "1"

_is_first_update = {}
dask_client = None
_NOINIT_ENGINES = {
"Python",
} # engines that don't require initialization, useful for unit tests


def _update_engine(publisher: Parameter):
global dask_client
from modin.config import StorageFormat, CpuCount
from modin.config.envvars import IsExperimental
from modin.config.pubsub import ValueSource
Expand Down
1 change: 0 additions & 1 deletion modin/pandas/test/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ def test_top_level_api_equality():
"os",
"multiprocessing",
"Client",
"dask_client",
"get_client",
]

Expand Down

0 comments on commit 05f199a

Please sign in to comment.