@@ -240,7 +240,7 @@ def run_lambda_function(
240
240
FunctionName = full_fn_name ,
241
241
)
242
242
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)"
244
244
)
245
245
except client .exceptions .ResourceNotFoundException :
246
246
function_exists_in_aws = False
@@ -251,14 +251,9 @@ def run_lambda_function(
251
251
dir_already_existing = os .path .isdir (base_dir )
252
252
253
253
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" )
257
255
258
256
if not dir_already_existing :
259
- print (
260
- f"Creating Lambda function package ({ full_fn_name } ) locally in directory { base_dir } "
261
- )
262
257
os .mkdir (base_dir )
263
258
_create_lambda_package (
264
259
base_dir , code , initial_handler , layer , syntax_check , subprocess_kwargs
@@ -321,10 +316,9 @@ def clean_up():
321
316
322
317
waiter = client .get_waiter ("function_active_v2" )
323
318
waiter .wait (FunctionName = full_fn_name )
324
- print (f"Created Lambda function in AWS: { full_fn_name } " )
325
319
except client .exceptions .ResourceConflictException :
326
320
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."
328
322
)
329
323
330
324
response = client .invoke (
0 commit comments