### Static type checker used mypy (project's standard) ### AWS Lambda function runtime 3.9 ### AWS Lambda Powertools for Python version latest ### Static type checker info The issue here is a lack of output. Running `mypy` with no arguments on the file below does not produce any issues. ### Code snippet ```python from aws_lambda_powertools import Logger Logger().foobar() ``` ### Possible Solution Based on https://github.com/python/mypy/issues/13319, the preferred solution seems to be the following: ```python from typing import TYPE_CHECKING class Logger(logging.Logger): ... if not TYPE_CHECKING: def __getattr__(self, name): ... ``` This appears to resolve the issue on my machine.