-
Notifications
You must be signed in to change notification settings - Fork 403
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
Static typing: @metrics.log_metrics decorator #4088
Comments
Thanks for opening your first issue here! We'll come back to you as soon as we can. |
Confirmed I'm seeing this too. Added to the backlog. Thank you for opening this @ChrisHills463 |
I'm not sure if it's related (I haven't checked), but we recently had a small refactoring on some parts of this code: |
@rubenfonseca @leandrodamascena any idea when this should be resolved or if there's a workaround? We've recently moved to using powertools throughout our app with many lambda functions and this keeps being a pesky linter error to stare at daily and not able to action. Any guidance would be appreciated. |
Static type checker used
pyright/pylance
AWS Lambda function runtime
3.11
Powertools for AWS Lambda (Python) version
latest
Static type checker info
# error: Argument missing for parameter "context" (reportGeneralTypeIssues)
Code snippet
Possible Solution
This is a known issue with pyright (see pyright#3265). See also this Discord discussion.
The text was updated successfully, but these errors were encountered: