Skip to content

Commit 0386b68

Browse files
author
Michael Brewer
committed
chore: fix doc strings
1 parent e8a342b commit 0386b68

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

aws_lambda_powertools/utilities/data_classes/api_gateway_authorizer_event.py

+4-10
Original file line numberDiff line numberDiff line change
@@ -326,8 +326,8 @@ class HttpVerb:
326326
class APIGatewayAuthorizerResponse:
327327
"""Api Gateway HTTP API V1 payload or Rest api authorizer response helper
328328
329-
Based on: - https://github.com/awslabs/aws-apigateway-lambda-authorizer-blueprints/blob/master/blueprints/python
330-
/api-gateway-authorizer-python.py
329+
Based on: - https://github.com/awslabs/aws-apigateway-lambda-authorizer-blueprints/blob/\
330+
master/blueprints/python/api-gateway-authorizer-python.py
331331
"""
332332

333333
version = "2012-10-17"
@@ -364,8 +364,8 @@ def __init__(
364364
See https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_resource.html for more
365365
details.
366366
stage : str
367-
The default stage to be used in the policy. Replace the placeholder value with a default stage to be
368-
used in the policy. Beware of using '*' since it will not simply mean any stage, because stars will
367+
The default stage to be used in the policy.
368+
Beware of using '*' since it will not simply mean any stage, because stars will
369369
greedily expand over '/' or other separators.
370370
See https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_resource.html for more
371371
details.
@@ -379,12 +379,6 @@ def __init__(
379379
self.api_id = api_id
380380
self.stage = stage
381381
self.context = context
382-
383-
"""these are the internal lists of allowed and denied methods. These are lists
384-
of objects and each object has 2 properties: A resource ARN and a nullable
385-
conditions statement.
386-
the build method processes these lists and generates the appropriate
387-
statements for the final policy"""
388382
self._allow_methods: List[Dict] = []
389383
self._deny_methods: List[Dict] = []
390384

0 commit comments

Comments
 (0)