Skip to content

Commit 28384c3

Browse files
committed
chore: minor docstring typos
1 parent 0b8f957 commit 28384c3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

aws_lambda_powertools/utilities/data_classes/cognito_user_pool_event.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -687,7 +687,7 @@ def session(self) -> List[ChallengeResult]:
687687
@property
688688
def client_metadata(self) -> Optional[Dict[str, str]]:
689689
"""One or more key-value pairs that you can provide as custom input to the Lambda function that you
690-
specify for the create auth challenge trigger.."""
690+
specify for the create auth challenge trigger."""
691691
return self["request"].get("clientMetadata")
692692

693693

aws_lambda_powertools/utilities/data_classes/common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def get_header_value(
3838
name_lower = name.lower()
3939

4040
return next(
41-
# Iterate over the dict and do a case insensitive key comparison
41+
# Iterate over the dict and do a case-insensitive key comparison
4242
(value for key, value in headers.items() if key.lower() == name_lower),
4343
# Default value is returned if no matches was found
4444
default_value,
@@ -116,7 +116,7 @@ def get_header_value(
116116
default_value: str, optional
117117
Default value if no value was found by name
118118
case_sensitive: bool
119-
Whether to use a case sensitive look up
119+
Whether to use a case-sensitive look up
120120
Returns
121121
-------
122122
str, optional

aws_lambda_powertools/utilities/idempotency/exceptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,5 @@ class IdempotencyPersistenceLayerError(Exception):
4747

4848
class IdempotencyKeyError(Exception):
4949
"""
50-
Payload does not contain a idempotent key
50+
Payload does not contain an idempotent key
5151
"""

0 commit comments

Comments
 (0)