Skip to content

Commit 4dcb441

Browse files
Michael Brewerheitorlessa
Michael Brewer
andauthored
chore: remove redundant docs
Co-authored-by: Heitor Lessa <heitor.lessa@hotmail.com>
1 parent fbd4fd2 commit 4dcb441

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

aws_lambda_powertools/event_handler/api_gateway.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -756,20 +756,6 @@ def __init__(
756756
serializer: Optional[Callable[[Dict], str]] = None,
757757
strip_prefixes: Optional[List[str]] = None,
758758
):
759-
"""
760-
Parameters
761-
----------
762-
cors: CORSConfig
763-
Optionally configure and enabled CORS. Not each route will need to have to cors=True
764-
debug: Optional[bool]
765-
Enables debug mode, by default False. Can be also be enabled by "POWERTOOLS_EVENT_HANDLER_DEBUG"
766-
environment variable
767-
serializer : Callable, optional
768-
function to serialize `obj` to a JSON formatted `str`, by default json.dumps
769-
strip_prefixes: List[str], optional
770-
list of prefixes to be removed from the request path before doing the routing. This is often used
771-
with api gateways with multiple custom mappings.
772-
"""
773759
super().__init__(ProxyEventType.APIGatewayProxyEventV2, cors, debug, serializer, strip_prefixes)
774760

775761

0 commit comments

Comments
 (0)