Skip to content

feat(event_handler): add Dependency injection with Depends()#8128

Merged
leandrodamascena merged 8 commits into
developfrom
feat/8099-dependency-injection
Apr 8, 2026
Merged

feat(event_handler): add Dependency injection with Depends()#8128
leandrodamascena merged 8 commits into
developfrom
feat/8099-dependency-injection

Merge branch 'develop' into feat/8099-dependency-injection

48bdeb0
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Apr 8, 2026 in 0s

96.68% (+0.04%) compared to f1d07ab

View this Pull Request on Codecov

96.68% (+0.04%) compared to f1d07ab

Details

Codecov Report

❌ Patch coverage is 98.16514% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 96.68%. Comparing base (f1d07ab) to head (48bdeb0).
⚠️ Report is 1 commits behind head on develop.

Files with missing lines Patch % Lines
aws_lambda_powertools/event_handler/depends.py 98.73% 0 Missing and 1 partial ⚠️
..._lambda_powertools/event_handler/openapi/params.py 90.90% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #8128      +/-   ##
===========================================
+ Coverage    96.64%   96.68%   +0.04%     
===========================================
  Files          284      285       +1     
  Lines        14079    14187     +108     
  Branches      1153     1175      +22     
===========================================
+ Hits         13606    13717     +111     
+ Misses         344      341       -3     
  Partials       129      129              

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