We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ea6fa0 commit 8e8d181Copy full SHA for 8e8d181
src/sagemaker/serve/detector/pickle_dependencies.py
@@ -102,8 +102,8 @@ def get_currently_used_packages():
102
103
def get_requirements_for_pkl_file(pkl_path: Path, dest: Path):
104
"""Placeholder docstring"""
105
- with open(pkl_path, mode="rb") as file:
106
- cloudpickle.load(file)
+ with open(pkl_path, mode="rb") as new_file:
+ cloudpickle.load(new_file)
107
108
currently_used_packages = get_currently_used_packages()
109
0 commit comments