Skip to content

Commit 0023b3a

Browse files
committed
style: run make format to fix CI formatting issues
1 parent d35753c commit 0023b3a

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

aws_lambda_powertools/event_handler/openapi/compat.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ def type_(self) -> Any:
8080
return self.field_info.annotation
8181

8282
def __post_init__(self) -> None:
83-
8483
# If the field_info.annotation is already an Annotated type with discriminator metadata,
8584
# use it directly instead of wrapping it again
8685
annotation = self.field_info.annotation

aws_lambda_powertools/event_handler/openapi/params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1050,7 +1050,7 @@ def get_field_info_annotated_type(annotation, value, is_path_param: bool) -> tup
10501050
# This happens when using Annotated[Union[A, B], Field(discriminator='...')] with Body()
10511051
has_discriminator_with_body = False
10521052
powertools_annotation: FieldInfo | None = None
1053-
1053+
10541054
if len(powertools_annotations) == 2:
10551055
field_obj = None
10561056
body_obj = None

0 commit comments

Comments
 (0)