We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c565e7 commit 13284b3Copy full SHA for 13284b3
aws_lambda_powertools/event_handler/api_gateway.py
@@ -407,7 +407,7 @@ def __init__(
407
408
# OpenAPI spec only understands paths with { }. So we'll have to convert Powertools' < >.
409
# https://swagger.io/specification/#path-templating
410
- self.openapi_path = re.sub(r"<(.*?)>", lambda m: f"{{{''.join(m.group(1))}}}", self.path)
+ self.openapi_path = re.sub(r"<(.*?)>", lambda m: f"{{{''.join(m.group(1))}}}", self.path) # type: ignore[arg-type]
411
412
self.rule = rule
413
self.func = func
0 commit comments