We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fabcb3 commit d109e53Copy full SHA for d109e53
pydra/utils/typing.py
@@ -421,10 +421,10 @@ def check_tuple(tp_args, pattern_args):
421
for arg in tp_args:
422
expand_and_check(arg, pattern_args[0])
423
return
424
- elif tp_args[-1] is Ellipsis:
425
- for pattern_arg in pattern_args:
426
- expand_and_check(tp_args[0], pattern_arg)
427
- return
+ # elif tp_args[-1] is Ellipsis:
+ # for pattern_arg in pattern_args:
+ # expand_and_check(tp_args[0], pattern_arg)
+ # return
428
if len(tp_args) != len(pattern_args):
429
raise TypeError(
430
f"Wrong number of type arguments in tuple {tp_args} compared to pattern "
0 commit comments