Skip to content

Commit 53b7e87

Browse files
fix(event-handler): replace Optional[X] and List[X] with X | None and list[X] in openapi/models.py
Replace deprecated typing aliases with modern Python 3.10+ syntax: - Optional[X] -> X | None - List[X] -> list[X] - Dict[X, Y] -> dict[X, Y] - Set[X] -> set[X] - Remove unused imports: Dict, List, Optional, Set from typing Part of #8088 Signed-off-by: hirenkumar-n-dholariya <hirenkumarnd@gmail.com>
1 parent 4a5d895 commit 53b7e87

1 file changed

Lines changed: 169 additions & 220 deletions

File tree

  • aws_lambda_powertools/event_handler/openapi

0 commit comments

Comments
 (0)