Commit 1aae45f
authored
fix(event-handler): add missing from __future__ import annotations in oauth2.py
Add `from __future__ import annotations` to enable PEP 604 union syntax (X | None) for Python versions below 3.10.
Fixes FA102 ruff lint errors:
- aws_lambda_powertools/event_handler/openapi/swagger_ui/oauth2.py:50
Part of #8088
Signed-off-by: hirenkumar-n-dholariya <hirenkumarnd@gmail.com>1 parent 67d5309 commit 1aae45f
1 file changed
Lines changed: 2 additions & 0 deletions
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
2 | 4 | | |
3 | 5 | | |
4 | 6 | | |
| |||
0 commit comments