Skip to content

Commit c49e9f8

Browse files
committed
Set default value of wait parameter to True
1 parent 7a4f1f7 commit c49e9f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sagemaker/serverless/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def __init__(
4444
self._role = role
4545

4646
def deploy(
47-
self, function_name: str, timeout: int, memory_size: int, wait: bool = False
47+
self, function_name: str, timeout: int, memory_size: int, wait: bool = True
4848
) -> LambdaPredictor:
4949
"""Create a Lambda function using the image specified in the constructor.
5050

0 commit comments

Comments
 (0)