Skip to content
This repository was archived by the owner on May 23, 2024. It is now read-only.

Commit 27411cb

Browse files
author
Chuyang Deng
committed
Merge branch 'master' of github.com:ChuyangDeng/sagemaker-tensorflow-serving-container
2 parents 12433f3 + 1ac1ed4 commit 27411cb

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

docker/build_artifacts/sagemaker/python_service.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,9 +222,7 @@ def _import_custom_modules(self, model_name):
222222

223223
if os.path.exists(inference_script_path):
224224
handler, input_handler, output_handler = self._import_handlers(model_name)
225-
model_handlers = self._make_handler(handler,
226-
input_handler,
227-
output_handler)
225+
model_handlers = self._make_handler(handler, input_handler, output_handler)
228226
self.model_handlers[model_name] = model_handlers
229227
else:
230228
self.model_handlers[model_name] = default_handler

test/integration/local/test_multi_model_endpoint.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,12 @@
2020
import pytest
2121
import requests
2222

23-
from multi_model_endpoint_test_utils import make_invocation_request, make_list_model_request,\
24-
make_load_model_request, make_unload_model_request
23+
from multi_model_endpoint_test_utils import (
24+
make_invocation_request,
25+
make_list_model_request,
26+
make_load_model_request,
27+
make_unload_model_request,
28+
)
2529

2630
PING_URL = 'http://localhost:8080/ping'
2731

0 commit comments

Comments
 (0)