convert : fix another python 3.8 issue (#2949)

This commit is contained in:
Cebtenzzre 2023-08-31 22:13:51 -04:00 committed by GitHub
parent 528134dd02
commit bce1fef328
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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