Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion aws_lambda_powertools/event_handler/openapi/params.py
Original file line number Diff line number Diff line change
Expand Up @@ -1059,7 +1059,7 @@ def get_field_info_annotated_type(annotation, value, is_path_param: bool) -> tup
# Reconstruct type_annotation with non-FieldInfo metadata if present
# This ensures constraints like Interval are preserved
if other_metadata and not preserve_full_annotation:
type_annotation = Annotated[(type_annotation, *other_metadata)]
type_annotation = Annotated[(type_annotation,) + tuple(other_metadata)]

# Process the annotation if it exists
field_info: FieldInfo | None = None
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ dev = [
"aws-cdk-aws-appsync-alpha (>=2.59.0a0,<3.0.0)",
"httpx (>=0.23.3,<0.29.0)",
"sentry-sdk (>=1.22.2,<3.0.0)",
"ruff (>=0.5.1,<0.16.10)",
"ruff>=0.5.1,<0.16.11",
"retry2 (>=0.9.5,<0.10.0)",
"pytest-socket (>=0.6,<0.9)",
"types-redis (>=4.6.0.7,<5.0.0.0)",
Expand Down
Loading
Loading