@@ -240,7 +240,7 @@ def run_lambda_function(
240240 FunctionName = full_fn_name ,
241241 )
242242 print (
243- f "Lambda function { full_fn_name } in AWS already existing, taking it (and do not create a local one)"
243+ "Lambda function in AWS already existing, taking it (and do not create a local one)"
244244 )
245245 except client .exceptions .ResourceNotFoundException :
246246 function_exists_in_aws = False
@@ -251,14 +251,9 @@ def run_lambda_function(
251251 dir_already_existing = os .path .isdir (base_dir )
252252
253253 if dir_already_existing :
254- print (
255- f"Local Lambda function directory ({ base_dir } ) already exists, skipping creation"
256- )
254+ print ("Local Lambda function directory already exists, skipping creation" )
257255
258256 if not dir_already_existing :
259- print (
260- f"Creating Lambda function package ({ full_fn_name } ) locally in directory { base_dir } "
261- )
262257 os .mkdir (base_dir )
263258 _create_lambda_package (
264259 base_dir , code , initial_handler , layer , syntax_check , subprocess_kwargs
@@ -321,10 +316,9 @@ def clean_up():
321316
322317 waiter = client .get_waiter ("function_active_v2" )
323318 waiter .wait (FunctionName = full_fn_name )
324- print (f"Created Lambda function in AWS: { full_fn_name } " )
325319 except client .exceptions .ResourceConflictException :
326320 print (
327- f "Lambda function ( { full_fn_name } ) already existing in AWS , this is fine, we will just invoke it."
321+ "Lambda function already exists , this is fine, we will just invoke it."
328322 )
329323
330324 response = client .invoke (
0 commit comments