Skip to content

Commit 2f77b22

Browse files
committed
chore: deleted unused outputs decorator
1 parent 9541675 commit 2f77b22

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

pydra/compose/python.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,6 @@ class out(base.Out):
8181
pass
8282

8383

84-
@dataclass_transform(
85-
kw_only_default=True,
86-
field_specifiers=(out,),
87-
)
88-
def outputs(wrapped):
89-
"""Decorator to specify the output fields of a shell command is a dataclass-style type"""
90-
return wrapped
91-
92-
9384
@dataclass_transform(
9485
kw_only_default=True,
9586
field_specifiers=(arg,),
@@ -225,7 +216,7 @@ def _from_job(cls, job: "Job[PythonTask]") -> ty.Self:
225216
return outputs
226217

227218

228-
PythonOutputsType = ty.TypeVar("OutputType", bound=PythonOutputs)
219+
PythonOutputsType = ty.TypeVar("PythonOutputsType", bound=PythonOutputs)
229220

230221

231222
@attrs.define(kw_only=True, auto_attribs=False, eq=False, repr=False)

0 commit comments

Comments
 (0)