Skip to content

Commit bce1fef

Browse files
authored
convert : fix another python 3.8 issue (#2949)
1 parent 528134d commit bce1fef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

convert.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ def validate_conversion_to(self, data_type: DataType) -> None:
530530
raise ValueError(f'Cannot validate conversion from {self.data_type} to {data_type}.')
531531

532532

533-
LazyModel = dict[str, LazyTensor]
533+
LazyModel: TypeAlias = 'dict[str, LazyTensor]'
534534

535535

536536
@dataclass

0 commit comments

Comments
 (0)