Skip to content

Commit f14ff6a

Browse files
GlassOfWhiskeymr-c
authored andcommitted
Add CommandOutputRecordField union type
This commit adds the `CommandOutputRecordField` union type to the `parser` module.
1 parent ebd041f commit f14ff6a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cwl_utils/parser/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,12 @@ class NoType(ABC):
138138
cwl_v1_2.CommandOutputParameter,
139139
]
140140
"""Type union for a CWL v1.x CommandOutputParameter object."""
141+
CommandOutputRecordField = Union[
142+
cwl_v1_0.CommandOutputRecordField,
143+
cwl_v1_1.CommandOutputRecordField,
144+
cwl_v1_2.CommandOutputRecordField,
145+
]
146+
"""Type union for a CWL v1.x CommandOutputRecordField object."""
141147
ExpressionTool = Union[
142148
cwl_v1_0.ExpressionTool, cwl_v1_1.ExpressionTool, cwl_v1_2.ExpressionTool
143149
]

0 commit comments

Comments
 (0)