Skip to content

Commit

Permalink
Update modin/core/io/utils.py
Browse files Browse the repository at this point in the history
Co-authored-by: Mahesh Vashishtha <mvashishtha@users.noreply.github.com>
  • Loading branch information
RehanSD and mvashishtha authored May 27, 2022
1 parent b6552ba commit 0608f9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modin/core/io/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def is_local_path(path_or_buf) -> bool:
return False


def get_device_id(path: Union[str, pathlib.PurePath]) -> Union[int, None]:
def get_device_id(path: Union[str, pathlib.PurePath]) -> Optional[int]:
"""
Return the result of `os.stat(path).st_dev` for the portion of `path` that exists locally.
Expand Down

0 comments on commit 0608f9e

Please sign in to comment.