You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ mypy repro.py
repro.py:5: error: Argument "log_level" to "copy_config_to_registered_loggers" has incompatible type "int"; expected "Optional[str]"
Found 1 error in 1 file (checked 1 source file)
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
Code snippet
Possible Solution
Update signature to accept
Union[str, int]
The text was updated successfully, but these errors were encountered: