Skip to content

Commit 99d11cb

Browse files
author
Jonathan Makunga
committed
Address PR Review Comments
1 parent 967c9cc commit 99d11cb

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/sagemaker/image_uri_config/tasks.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,4 @@
6464
]
6565
}
6666
}
67-
}
67+
}

src/sagemaker/serve/utils/task.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,8 @@ def retrieve_local_schemas(task: str) -> Tuple[Any, Any]:
3131
Raises:
3232
ValueError: If no tasks config found or the task does not exist in the local config.
3333
"""
34-
# task_io_config_path = os.path.join(os.path.dirname(__file__), "image_uri_config", "tasks.json")
35-
c = os.path.dirname(os.path.dirname(os.path.dirname(__file__)))
36-
task_io_config_path = os.path.join(c, "image_uri_config", "tasks.json")
34+
config_dir = os.path.dirname(os.path.dirname(os.path.dirname(__file__)))
35+
task_io_config_path = os.path.join(config_dir, "image_uri_config", "tasks.json")
3736
try:
3837
with open(task_io_config_path) as f:
3938
task_io_config = json.load(f)

0 commit comments

Comments
 (0)