Skip to content

Commit 17a4145

Browse files
fix: Avoid 'AttributeError' for endpoint_name, if deploy() is not yet called (#3681)
Co-authored-by: Mufaddal Rohawala <[email protected]>
1 parent 28b57fd commit 17a4145

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/sagemaker/multidatamodel.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ def __init__(
9999
self.model = model
100100
self.container_mode = MULTI_MODEL_CONTAINER_MODE
101101
self.sagemaker_session = sagemaker_session or Session()
102+
self.endpoint_name = None
102103

103104
if self.sagemaker_session.s3_client is None:
104105
self.s3_client = self.sagemaker_session.boto_session.client(

0 commit comments

Comments
 (0)