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 b4f49ff commit 0b8e3e5Copy full SHA for 0b8e3e5
pydra/engine/task.py
@@ -125,6 +125,12 @@ def __init__(
125
val_dflt = val.default
126
else:
127
val_dflt = attr.NOTHING
128
+ if isinstance(val.annotation, ty.TypeVar):
129
+ raise NotImplementedError(
130
+ "Template types are not currently supported in task signatures "
131
+ f"(found in '{val.name}' field of '{name}' task), "
132
+ "see https://github.com/nipype/pydra/issues/672"
133
+ )
134
fields.append(
135
(
136
val.name,
0 commit comments