Commit 013d0b1
committed
Update type hint for prepare_comment argument
Replaces the use of the PEP 604 union operator (|) with typing.Union for compatibility. This change ensures the code works with Python versions prior to 3.10.1 parent 9edfd2c commit 013d0b1
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | | - | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
0 commit comments