Skip to content

Commit e60d3b3

Browse files
committed
chore: reword
1 parent 276293b commit e60d3b3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

aws_lambda_powertools/event_handler/api_gateway.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -535,8 +535,9 @@ def __init__(
535535
serializer : Callable, optional
536536
function to serialize `obj` to a JSON formatted `str`, by default json.dumps
537537
strip_prefixes: List[Union[str, Pattern]], optional
538-
optional list of prefixes to be removed from the request path before doing the routing. This is often used
539-
with api gateways with multiple custom mappings. Each prefix can be a static string or a compiled regex
538+
optional list of prefixes to be removed from the request path before doing the routing.
539+
This is often used with api gateways with multiple custom mappings.
540+
Each prefix can be a static string or a compiled regex pattern
540541
"""
541542
self._proxy_type = proxy_type
542543
self._dynamic_routes: List[Route] = []

0 commit comments

Comments
 (0)