Skip to content

Commit 13284b3

Browse files
Make mypy happy
1 parent 7c565e7 commit 13284b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws_lambda_powertools/event_handler/api_gateway.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ def __init__(
407407

408408
# OpenAPI spec only understands paths with { }. So we'll have to convert Powertools' < >.
409409
# https://swagger.io/specification/#path-templating
410-
self.openapi_path = re.sub(r"<(.*?)>", lambda m: f"{{{''.join(m.group(1))}}}", self.path)
410+
self.openapi_path = re.sub(r"<(.*?)>", lambda m: f"{{{''.join(m.group(1))}}}", self.path) # type: ignore[arg-type]
411411

412412
self.rule = rule
413413
self.func = func

0 commit comments

Comments
 (0)