-
Notifications
You must be signed in to change notification settings - Fork 421
Static typing: missing @overload to ensure return type is a str when default_value is set #3839
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
typing
Static typing definition related issues (mypy, pyright, etc.)
Comments
7 tasks
pending CI checks ;) |
7 tasks
|
This is now released under 2.34.2 version! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Static type checker used
pyright/pylance
AWS Lambda function runtime
3.12
Powertools for AWS Lambda (Python) version
latest
Static type checker info
Expression of type "str | None" cannot be assigned to declared type "str"
Code snippet
Possible Solution
@overload
The text was updated successfully, but these errors were encountered: