Skip to content

Commit ad3b6a7

Browse files
committed
correct handling of Ellipsis
1 parent 77b5924 commit ad3b6a7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

robotcode/utils/dataclasses.py

+1
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ def from_dict(value: Any, types: Union[Type[_T], Tuple[Type[_T], ...], None] = N
171171

172172
if (
173173
t is Any
174+
or t is Ellipsis # type: ignore
174175
or isinstance(value, origin or t)
175176
or (isinstance(value, Sequence) and args and issubclass(origin or t, Sequence))
176177
):

0 commit comments

Comments
 (0)