Skip to content

Commit

Permalink
convert : fix another python 3.8 issue (#2949)
Browse files Browse the repository at this point in the history
  • Loading branch information
cebtenzzre authored Sep 1, 2023
1 parent 528134d commit bce1fef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ def validate_conversion_to(self, data_type: DataType) -> None:
raise ValueError(f'Cannot validate conversion from {self.data_type} to {data_type}.')


LazyModel = dict[str, LazyTensor]
LazyModel: TypeAlias = 'dict[str, LazyTensor]'


@dataclass
Expand Down

0 comments on commit bce1fef

Please sign in to comment.