### Static type checker used pyright/pylance ### AWS Lambda function runtime 3.11 ### Powertools for AWS Lambda (Python) version latest ### Static type checker info Pyright 1.1.331 ### Code snippet ```python from aws_lambda_powertools.logging import Logger logger = Logger(name="%(name)s") ... ex = Exception() logger.exception( f"Failed to launch workflow: {ex!r}", extra=None, exc_info=(type(ex), ex, ex.__traceback__), ) ``` ### Possible Solution `exc_info` should not be `bool` only, it should be: "_ExcInfoType" which accepts: "None" "bool" "tuple[type[BaseException], BaseException, TracebackType | None]" "tuple[None, None, None]" "BaseException"