Skip to content

Commit 63969ff

Browse files
committed
relaxed task_type assertion
1 parent ed4e923 commit 63969ff

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pydra/compose/base/task.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@ class Task(ty.Generic[OutputsType]):
153153
@classmethod
154154
def _task_type(cls) -> str:
155155
mod_parts = cls.__module__.split(".")
156-
assert len(mod_parts) == 3
157156
assert mod_parts[:2] == ["pydra", "compose"]
158157
return mod_parts[2]
159158

0 commit comments

Comments
 (0)