Explorar o código

convert : fix another python 3.8 issue (#2949)

Cebtenzzre %!s(int64=2) %!d(string=hai) anos
pai
achega
bce1fef328
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      convert.py

+ 1 - 1
convert.py

@@ -530,7 +530,7 @@ class LazyTensor:
             raise ValueError(f'Cannot validate conversion from {self.data_type} to {data_type}.')
 
 
-LazyModel = dict[str, LazyTensor]
+LazyModel: TypeAlias = 'dict[str, LazyTensor]'
 
 
 @dataclass