Skip to content

Commit c1fe77c

Browse files
committed
update set
1 parent 284e12c commit c1fe77c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samtranslator/model/api/api_generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -982,7 +982,7 @@ def _add_cors(self) -> None:
982982
editor = SwaggerEditor(self.definition_body)
983983
# Track normalized paths to avoid duplicate OPTIONS methods for paths that differ only by trailing slash
984984
# API Gateway treats /path and /path/ as the same resource, so we normalize before adding CORS
985-
normalized_paths_processed: Set[str] = set()
985+
normalized_paths_processed: set[str] = set()
986986

987987
for path in editor.iter_on_path():
988988
# Normalize path by removing trailing slash (except for root path "/")

0 commit comments

Comments
 (0)