Static typing: APIGatewayRestResolver .post()
decorator return type Unknown
#3990
Labels
typing
Static typing definition related issues (mypy, pyright, etc.)
Static type checker used
pyright/pylance
AWS Lambda function runtime
3.12
Powertools for AWS Lambda (Python) version
latest
Static type checker info
Latest Pylance, latest VS Code, type checking mode strict.
Screenshot:
Code snippet
Possible Solution
return
Callable[..., T]
or something like thatThe text was updated successfully, but these errors were encountered: