Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: aws-powertools/powertools-lambda-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: develop
Choose a base ref
...
head repository: aws-powertools/powertools-lambda-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: fix/union-list-body-normalization
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 2 files changed
  • 3 contributors

Commits on Mar 24, 2026

  1. Configuration menu
    Copy the full SHA
    d794529 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2026

  1. fix(event-handler): make sequence detection recursive for nested Unio…

    …n/RootModel
    
    The original fix only checked one level deep. This makes
    _is_or_contains_sequence recursive so it catches:
    - Optional[RootModel[List[Model]]] (Union containing RootModel)
    - RootModel[Union[Model, List[Model]]] (RootModel wrapping Union)
    
    Adds 16 regression tests covering edge cases: Optional, empty list,
    single-element list, pipe syntax, cross-resolver, large payloads, etc.
    
    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
    leandrodamascena and claude committed Mar 26, 2026
    Configuration menu
    Copy the full SHA
    a6c8166 View commit details
    Browse the repository at this point in the history
Loading