Skip to content

Conversation

@T90REAL
Copy link
Contributor

@T90REAL T90REAL commented Nov 17, 2025

Issue number: closes #7693

Summary

Remove **kwargs from the signature to avoid confusing customers.

Changes

Delete **kwargs from argument and doc.

User experience

User will not be confused by the signatures.


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.

@T90REAL T90REAL requested a review from a team as a code owner November 17, 2025 11:22
@T90REAL T90REAL requested a review from hjgraca November 17, 2025 11:22
@boring-cyborg
Copy link

boring-cyborg bot commented Nov 17, 2025

Thanks a lot for your first contribution! Please check out our contributing guidelines and don't hesitate to ask whatever you need.
In the meantime, check out the #python channel on our Powertools for AWS Lambda Discord: Invite link

@pull-request-size pull-request-size bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Nov 17, 2025
@sonarqubecloud
Copy link

@T90REAL T90REAL changed the title remote **kwargs from UnauthorizedException class. remove **kwargs from UnauthorizedException class. Nov 17, 2025
@T90REAL T90REAL changed the title remove **kwargs from UnauthorizedException class. fix(UnauthorizedException): remove kwargs support Nov 17, 2025
@dreamorosi dreamorosi removed the request for review from hjgraca November 17, 2025 11:35
@github-actions github-actions bot added the bug Something isn't working label Nov 17, 2025
@codecov
Copy link

codecov bot commented Nov 17, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.52%. Comparing base (f77c259) to head (016608b).
⚠️ Report is 2 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #7699   +/-   ##
========================================
  Coverage    96.52%   96.52%           
========================================
  Files          275      275           
  Lines        13117    13117           
  Branches       986      986           
========================================
  Hits         12661    12661           
  Misses         353      353           
  Partials       103      103           

☔ 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.

Copy link
Contributor

@dreamorosi dreamorosi left a comment

Choose a reason for hiding this comment

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

Hi @T90REAL, thank you for sending the PR.

Well done 🚢 !

@dreamorosi dreamorosi changed the title fix(UnauthorizedException): remove kwargs support refactor(event-handler): remove kwargs support Nov 17, 2025
@dreamorosi dreamorosi changed the title refactor(event-handler): remove kwargs support refactor(event-handler): remove kwargs from AppSync exception constructor Nov 17, 2025
@github-actions github-actions bot added enhancement and removed bug Something isn't working labels Nov 17, 2025
@dreamorosi dreamorosi merged commit ccdab90 into aws-powertools:develop Nov 17, 2025
28 checks passed
@boring-cyborg
Copy link

boring-cyborg bot commented Nov 17, 2025

Awesome work, congrats on your first merged pull request and thank you for helping improve everyone's experience!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement event_handlers size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: UnauthorizedException raises TypeError when using documented keyword arguments

2 participants