Commit 2c2be2f
authored
fix(event-handler): revert validator signature to Optional in oauth2.py
Revert client_secret_only_on_dev validator signature from str | None back to Optional[str] to fix FA102 ruff lint error.
PEP 604 union syntax in function signatures requires `from __future__ import annotations` which conflicts with the existing FA100 noqa suppression in this file.
Part of #8088
Signed-off-by: hirenkumar-n-dholariya <hirenkumarnd@gmail.com>1 parent 1aae45f commit 2c2be2f
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