Skip to content

chore: stop mypy from complaining about the Metric class#20369

Merged
mergify[bot] merged 2 commits intoaws:masterfrom
kornicameister:20219-fix
May 19, 2022
Merged

chore: stop mypy from complaining about the Metric class#20369
mergify[bot] merged 2 commits intoaws:masterfrom
kornicameister:20219-fix

Conversation

@kornicameister
Copy link
Copy Markdown
Contributor

Fixes: #20219


All Submissions:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@gitpod-io
Copy link
Copy Markdown

gitpod-io bot commented May 17, 2022

@aws-cdk-automation aws-cdk-automation requested a review from a team May 17, 2022 05:34
@github-actions github-actions bot added the p2 label May 17, 2022
@kornicameister kornicameister marked this pull request as ready for review May 17, 2022 08:15
this.unit = props.unit;
this.account = props.account;
this.region = props.region;
this.warnings = undefined;
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Honestly, not really sure if that's how this is supposed to be done.

@rix0rrr rix0rrr changed the title Add warnings to Metric type chore: stop mypy from complaining about the Metric class May 19, 2022
Copy link
Copy Markdown
Contributor

@rix0rrr rix0rrr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is actually a jsii problem, but I'll approve it to get rid of the warnings.

@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented May 19, 2022

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@aws-cdk-automation
Copy link
Copy Markdown
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: 248c1d9
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify mergify bot merged commit 6fae606 into aws:master May 19, 2022
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented May 19, 2022

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

wphilipw pushed a commit to wphilipw/aws-cdk that referenced this pull request May 23, 2022
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*
@rix0rrr rix0rrr added the effort/small Small work item – less than a day of effort label May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

effort/small Small work item – less than a day of effort p2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

(cloudwatch): mypy going crazy around types in cdk >= 2.21.0

3 participants