File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -520,7 +520,7 @@ def _decorate_async_function(
520
520
method : Callable ,
521
521
capture_response : Optional [Union [bool , str ]] = None ,
522
522
capture_error : Optional [Union [bool , str ]] = None ,
523
- method_name : str = None ,
523
+ method_name : Optional [ str ] = None ,
524
524
):
525
525
@functools .wraps (method )
526
526
async def decorate (* args , ** kwargs ):
@@ -547,7 +547,7 @@ def _decorate_generator_function(
547
547
method : Callable ,
548
548
capture_response : Optional [Union [bool , str ]] = None ,
549
549
capture_error : Optional [Union [bool , str ]] = None ,
550
- method_name : str = None ,
550
+ method_name : Optional [ str ] = None ,
551
551
):
552
552
@functools .wraps (method )
553
553
def decorate (* args , ** kwargs ):
Original file line number Diff line number Diff line change 1
1
import logging
2
2
from typing import Any , Dict , Optional , Union
3
3
4
- import fastjsonschema
4
+ import fastjsonschema # type: ignore
5
5
import jmespath
6
- from jmespath .exceptions import LexerError
6
+ from jmespath .exceptions import LexerError # type: ignore
7
7
8
8
from aws_lambda_powertools .shared .jmespath_functions import PowertoolsFunctions
9
9
You can’t perform that action at this time.
0 commit comments