Skip to content

Commit f86cec0

Browse files
Using LoadContents in type alias
1 parent 5e00561 commit f86cec0

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

cwl_utils/parser/__init__.py

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -226,16 +226,8 @@ class NoType(ABC):
226226
Dirent: TypeAlias = cwl_v1_0.Dirent | cwl_v1_1.Dirent | cwl_v1_2.Dirent
227227
"""Type Union for a CWL v1.x Dirent object."""
228228
LoadContents: TypeAlias = (
229-
cwl_v1_1.CommandInputParameter
230-
| cwl_v1_2.CommandInputParameter
231-
| cwl_v1_1.CommandOutputBinding
232-
| cwl_v1_2.CommandOutputBinding
233-
| cwl_v1_1.InputRecordField
234-
| cwl_v1_2.InputRecordField
235-
| cwl_v1_1.WorkflowInputParameter
236-
| cwl_v1_2.WorkflowInputParameter
237-
| cwl_v1_1.WorkflowStepInput
238-
| cwl_v1_2.WorkflowStepInput
229+
cwl_v1_1.LoadContents
230+
| cwl_v1_2.LoadContents
239231
)
240232
"""Type Union for a CWL v1.x LoadContents object."""
241233
SchemaDefRequirement: TypeAlias = (

0 commit comments

Comments
 (0)