Skip to content

Commit d3d196e

Browse files
committed
chore(mypy): add leftover assignment ignore
1 parent 0fd0820 commit d3d196e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/event_handler_rest/src/split_route_prefix_module.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
@router.get("/")
1414
@tracer.capture_method
1515
def get_todos():
16-
api_key: str = router.current_event.get_header_value(name="X-Api-Key", case_sensitive=True, default_value="")
16+
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
1717

1818
todos: Response = requests.get(endpoint, headers={"X-Api-Key": api_key})
1919
todos.raise_for_status()

0 commit comments

Comments
 (0)