Skip to content
This repository was archived by the owner on Aug 26, 2020. It is now read-only.

Commit 390a3c2

Browse files
author
Jonathan Esterhazy
committed
fix imports
1 parent f43aaca commit 390a3c2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/container_support/environment.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
import pkg_resources
2525

2626
import container_support as cs
27-
from container_support import serving
2827

2928
logger = logging.getLogger(__name__)
3029

@@ -317,7 +316,7 @@ def __init__(self, base_dir=ContainerEnvironment.BASE_DIRECTORY):
317316
self.port_range = os.environ.get(ContainerEnvironment.SAGEMAKER_SAFE_PORT_RANGE_ENV, None)
318317

319318
self.default_accept = os.environ.get(HostingEnvironment.DEFAULT_INVOCATIONS_ACCEPT_ENV,
320-
serving.JSON_CONTENT_TYPE)
319+
cs.serving.JSON_CONTENT_TYPE)
321320

322321
self.model_server_workers = int(os.environ.get(
323322
HostingEnvironment.MODEL_SERVER_WORKERS_PARAM,

0 commit comments

Comments
 (0)