We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fd0820 commit d3d196eCopy full SHA for d3d196e
examples/event_handler_rest/src/split_route_prefix_module.py
@@ -13,7 +13,7 @@
13
@router.get("/")
14
@tracer.capture_method
15
def get_todos():
16
- api_key: str = router.current_event.get_header_value(name="X-Api-Key", case_sensitive=True, default_value="")
+ api_key: str = router.current_event.get_header_value(name="X-Api-Key", case_sensitive=True, default_value="") # type: ignore[assignment] # sentinel typing # noqa: E501
17
18
todos: Response = requests.get(endpoint, headers={"X-Api-Key": api_key})
19
todos.raise_for_status()
0 commit comments