From 75f2c389987893e20bc43ee81ea267ae4e87f3da Mon Sep 17 00:00:00 2001 From: Ishant Mrinal <33053278+n30111@users.noreply.github.com> Date: Thu, 21 Dec 2023 08:11:00 +0530 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Justin Yu Signed-off-by: Ishant Mrinal <33053278+n30111@users.noreply.github.com> Signed-off-by: n3011 --- python/ray/train/_checkpoint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/ray/train/_checkpoint.py b/python/ray/train/_checkpoint.py index fcd45d0de188..b97a8cc46d8e 100644 --- a/python/ray/train/_checkpoint.py +++ b/python/ray/train/_checkpoint.py @@ -130,7 +130,7 @@ def get_metadata(self) -> Dict[str, Any]: If no metadata is stored, an empty dict is returned. """ - metadata_path = (Path(self.path) / _METADATA_FILE_NAME).as_posix() + metadata_path = Path(self.path, _METADATA_FILE_NAME).as_posix() if not _exists_at_fs_path(self.filesystem, metadata_path): return {}