Skip to content

Commit e66138a

Browse files
committed
fix: memory_size value from str to actual int #38
1 parent aadf150 commit e66138a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws_lambda_powertools/helper/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def build_lambda_context_model(context: object) -> LambdaContextModel:
6565

6666
context = {
6767
"function_name": context.function_name,
68-
"function_memory_size": str(context.memory_limit_in_mb),
68+
"function_memory_size": context.memory_limit_in_mb,
6969
"function_arn": context.invoked_function_arn,
7070
"function_request_id": context.aws_request_id,
7171
}

0 commit comments

Comments
 (0)