Antigravity AI commited on
Commit
43dc9d5
·
1 Parent(s): 82c4d2e

Fix Python 3.12 syntax: remove 'type' keyword for compatibility with 3.10

Browse files
Files changed (1) hide show
  1. rvc_logic/typing_extra.py +2 -2
rvc_logic/typing_extra.py CHANGED
@@ -13,9 +13,9 @@ except ImportError:
13
 
14
  from os import PathLike
15
 
16
- type StrPath = str | PathLike[str]
17
 
18
- type Json = Mapping[str, Json] | Sequence[Json] | str | int | float | bool | None
19
 
20
 
21
  class SeparationModel(StrEnum):
 
13
 
14
  from os import PathLike
15
 
16
+ StrPath = str | PathLike[str]
17
 
18
+ Json = Mapping[str, "Json"] | Sequence["Json"] | str | int | float | bool | None
19
 
20
 
21
  class SeparationModel(StrEnum):