Skip to content

Commit 0f60963

Browse files
Adding getter/setter to clean the code
1 parent 74dfe4b commit 0f60963

File tree

1 file changed

+0
-2
lines changed
  • aws_lambda_powertools/event_handler/openapi

1 file changed

+0
-2
lines changed

aws_lambda_powertools/event_handler/openapi/params.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -632,8 +632,6 @@ def alias(self, value: Optional[str] = None):
632632
# This ensures that customers can access headers with any casing, as per the RFC guidelines.
633633
# Reference: https://www.rfc-editor.org/rfc/rfc7540#section-8.1.2
634634
self._alias = value.lower()
635-
else:
636-
self._alias = None
637635

638636

639637
class Body(FieldInfo):

0 commit comments

Comments
 (0)