-
Notifications
You must be signed in to change notification settings - Fork 4k
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
(cloudwatch): mypy going crazy around types in cdk >= 2.21.0 #20219
Comments
The problem here is that #19825 added a |
@gavllew so the fix is to change type of |
@gavllew @madeline-k would that #20369 be a proper starting point to fix that? |
@kornicameister Yes, I think that is all that should be necessary. |
That also pops around |
@madeline-k @gavllew I changed the type of linked PR to |
Fixes: #20219 ---- ### All Submissions: * [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/master/CONTRIBUTING.md) *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
|
Fixes: aws#20219 ---- ### All Submissions: * [x] Have you followed the guidelines in our [Contributing guide?](https://github.com/aws/aws-cdk/blob/master/CONTRIBUTING.md) *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Describe the bug
Expected Behavior
mypy
reports no errors as it was doing incdk==2.20.0
Current Behavior
Without any changes, code that previously checked out correctly, now throws a bunch of errors around types.
Reproduction Steps
mypy
over python sourcesPossible Solution
🤷
Additional Information/Context
No response
CDK CLI Version
2.22.0
Framework Version
No response
Node.js Version
14.17.5
OS
MacOs BigSur
Language
Python
Language Version
3.10.1
Other information
No response
The text was updated successfully, but these errors were encountered: