Skip to content

Conversation

leandrodamascena
Copy link
Contributor

Issue number: #2909

Summary

Changes

This PR introduces getter/setter methods.

User experience

Please share what the user experience looks like before and after this change

Checklist

If your change doesn't seem to apply, please leave them unchecked.

Is this a breaking change?

RFC issue number:

Checklist:

  • Migration process documented
  • Implement warnings (if it can live side by side)

Acknowledgment

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

@leandrodamascena leandrodamascena requested a review from a team August 2, 2023 11:31
@pull-request-size pull-request-size bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Aug 2, 2023
@sonarqubecloud
Copy link

sonarqubecloud bot commented Aug 2, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@github-actions github-actions bot added the bug Something isn't working label Aug 2, 2023
@heitorlessa heitorlessa changed the title bug(metrics): add getter/setter methods to access properties in Metric class fix(metrics): add getter/setter methods to access properties in Metric class Aug 2, 2023
@codecov-commenter
Copy link

codecov-commenter commented Aug 2, 2023

Codecov Report

❌ Patch coverage is 83.33333% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 96.41%. Comparing base (cdf9084) to head (d57d0a1).
⚠️ Report is 2749 commits behind head on develop.

Files with missing lines Patch % Lines
aws_lambda_powertools/metrics/metrics.py 83.33% 2 Missing ⚠️
Additional details and impacted files
@@ Coverage Diff @@ ## develop #2910 +/- ## =========================================== - Coverage 96.43% 96.41% -0.03%  =========================================== Files 169 169 Lines 7666 7678 +12 Branches 1447 1451 +4 =========================================== + Hits 7393 7403 +10  - Misses 217 219 +2  Partials 56 56 

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
@heitorlessa heitorlessa changed the title fix(metrics): add getter/setter methods to access properties in Metric class fix(metrics): proxy service and namespace attrs to provider Aug 2, 2023
@heitorlessa heitorlessa merged commit 907821d into aws-powertools:develop Aug 2, 2023
heitorlessa added a commit to heitorlessa/aws-lambda-powertools-python that referenced this pull request Aug 2, 2023
* develop: chore: cleanup, add test for single and nested fix(parameters): make cache aware of single vs multiple calls fix(metrics): proxy service and namespace attrs to provider (aws-powertools#2910) chore(deps-dev): bump ruff from 0.0.281 to 0.0.282 (aws-powertools#2905)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working metrics size/M Denotes a PR that changes 30-99 lines, ignoring generated files. tests

3 participants