Closed
Description
Static type checker used
mypy (project's standard)
AWS Lambda function runtime
3.12
Powertools for AWS Lambda (Python) version
latest
Static type checker info
It is possible to use get_header_value(headers, name, case_sensitive=None)
.
Code snippet
def get_header_value(
headers: dict[str, Any],
name: str,
default_value: str | None = None,
case_sensitive: bool | None= False,
) -> str:
Possible Solution
def get_header_value(
headers: dict[str, Any],
name: str,
default_value: str | None = None,
case_sensitive: bool = False,
) -> str:
Metadata
Metadata
Assignees
Type
Projects
Status
Shipped