@logger.inject_lambda_context
Type is Partially Unknown
#1089
Labels
need-customer-feedback
Requires more customers feedback before making or revisiting a decision
typing
Static typing definition related issues (mypy, pyright, etc.)
I was attempting to use the
@logger.inject_lambda_context
decorator as shown in the docs here: https://awslabs.github.io/aws-lambda-powertools-python/latest/core/logger/#capturing-lambda-context-infoExpected Behavior
Decorator does not cause type errors.
Current Behavior
VSCode/Pylance throws an error stating:
Possible Solution
Unknown
Steps to Reproduce (for bugs)
@logger.inject_lambda_context
Environment
Pylance VSCode extension version v2022.3.4
The text was updated successfully, but these errors were encountered: