Commit 82601a0
authored
fix(event-handler): fix UP045 lint error in oauth2.py validator signature
With `from __future__ import annotations` present, ruff UP045 requires `str | None` instead of `Optional[str]` in the validator signature.
- Remove Optional from typing imports
- Convert validator signature to str | None syntax
Part of #8088
Signed-off-by: hirenkumar-n-dholariya <hirenkumarnd@gmail.com>1 parent 2c2be2f commit 82601a0
1 file changed
Lines changed: 2 additions & 2 deletions
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
0 commit comments