Skip to content

feat(event_handler): add Request object for middleware access to resolved route and args#8036

Merged
leandrodamascena merged 7 commits into
aws-powertools:developfrom
oyiz-michael:feat/request-object-middleware-access
Apr 3, 2026
Merged

feat(event_handler): add Request object for middleware access to resolved route and args#8036
leandrodamascena merged 7 commits into
aws-powertools:developfrom
oyiz-michael:feat/request-object-middleware-access

Improve workflow

1730848
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project failed Apr 3, 2026 in 1s

96.63% (-0.03%) compared to dafed6a

View this Pull Request on Codecov

96.63% (-0.03%) compared to dafed6a

Details

Codecov Report

❌ Patch coverage is 92.18750% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 96.63%. Comparing base (dafed6a) to head (1730848).
⚠️ Report is 1 commits behind head on develop.

Files with missing lines Patch % Lines
aws_lambda_powertools/event_handler/api_gateway.py 90.32% 2 Missing and 1 partial ⚠️
...mbda_powertools/event_handler/openapi/dependant.py 33.33% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #8036      +/-   ##
===========================================
- Coverage    96.65%   96.63%   -0.03%     
===========================================
  Files          282      283       +1     
  Lines        13798    13862      +64     
  Branches      1103     1111       +8     
===========================================
+ Hits         13336    13395      +59     
- Misses         339      342       +3     
- Partials       123      125       +2     

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