From 9236233b8e7fe693873de6bf0358be4e2603ae47 Mon Sep 17 00:00:00 2001 From: Lucas <12496191+lucashuy@users.noreply.github.com> Date: Mon, 18 Dec 2023 16:07:03 -0800 Subject: [PATCH] Mark ssl_context as optional in the service constructor (#6469) --- samcli/commands/local/lib/local_lambda_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samcli/commands/local/lib/local_lambda_service.py b/samcli/commands/local/lib/local_lambda_service.py index 1c709793dd..0d493c2ff8 100644 --- a/samcli/commands/local/lib/local_lambda_service.py +++ b/samcli/commands/local/lib/local_lambda_service.py @@ -14,7 +14,7 @@ class LocalLambdaService: that are defined in a SAM file. """ - def __init__(self, lambda_invoke_context, port, host, ssl_context): + def __init__(self, lambda_invoke_context, port, host, ssl_context=None): """ Initialize the Local Lambda Invoke service.