Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Anatoly Myachev <[email protected]>
  • Loading branch information
anmyachev committed Oct 20, 2023
1 parent 8ef1453 commit 76aec65
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions modin/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -606,16 +606,14 @@ def try_cast_to_pandas(obj: Any, squeeze: bool = False) -> Any:
return obj


def execute(obj: Any, *, trigger_hdk_import: bool = False) -> None:
def execute(obj: Any) -> None:
"""
Trigger the `obj` lazy computations, if any, and wait for them to complete.
Parameters
----------
obj : Any
An object to trigger lazy computations.
trigger_hdk_import : bool, default: False
Trigger import execution. Makes sense only for HDK storage format.
"""
if not hasattr(obj, "_query_compiler"):
return

Check warning on line 619 in modin/utils.py

View check run for this annotation

Codecov / codecov/patch

modin/utils.py#L619

Added line #L619 was not covered by tests
Expand Down

0 comments on commit 76aec65

Please sign in to comment.