File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
aws_lambda_powertools/utilities/idempotency Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ def _get_remaining_time_in_millis(self) -> Optional[int]:
132
132
133
133
# Look to see if we have stored a Lambda Context
134
134
if self .config .lambda_context is not None :
135
- self .config .lambda_context .get_remainig_time_in_millis ()
135
+ self .config .lambda_context .get_remaining_time_in_millis ()
136
136
137
137
# Look into fn_args to see if we have a lambda context
138
138
if self .fn_args and len (self .fn_args ) == 2 and getattr (self .fn_args [1 ], "get_remaining_time_in_millis" , None ):
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ def __init__(
43
43
self .use_local_cache = use_local_cache
44
44
self .local_cache_max_items = local_cache_max_items
45
45
self .hash_function = hash_function
46
- self .lambda_context = None
46
+ self .lambda_context : Optional [ LambdaContext ] = None
47
47
48
48
def register_lambda_context (self , lambda_context : LambdaContext ):
49
49
self .lambda_context = lambda_context
You can’t perform that action at this time.
0 commit comments