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 25c94905a8
commit 2d2470a0a4
1 changed files with 1 additions and 1 deletions

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