File tree Expand file tree Collapse file tree 5 files changed +11
-11
lines changed
Expand file tree Collapse file tree 5 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -9,13 +9,13 @@ def test_parse_string(self):
99 t = types .WdlType .parse_type ("String" )
1010 self .assertIsInstance (t , types .WdlType )
1111 self .assertEqual (t ._type ._type , "String" )
12- self .assertFalse (t ._optional )
12+ self .assertFalse (t .optional )
1313
1414 def test_parse_optional_string (self ):
1515 t = types .WdlType .parse_type ("String?" )
1616 self .assertIsInstance (t , types .WdlType )
1717 self .assertEqual (t ._type ._type , "String" )
18- self .assertTrue (t ._optional )
18+ self .assertTrue (t .optional )
1919
2020 def test_parse_primitives (self ):
2121 results = [types .WdlType .parse_type (t ) for t in types .PrimitiveType .types ]
Original file line number Diff line number Diff line change 11from typing import Union , List
22
3- from wdlgen .types import WdlType
4- from wdlgen .util import WdlBase
3+ from .types import WdlType
4+ from .util import WdlBase
55
66
77class Input (WdlBase ):
Original file line number Diff line number Diff line change 11from typing import List , Optional
22
3- from wdlgen .common import Input , Output
4- from wdlgen .util import WdlBase
3+ from .common import Input , Output
4+ from .util import WdlBase
55
66
77class Task (WdlBase ):
Original file line number Diff line number Diff line change 11from typing import List , Any
22import re
33
4- from wdlgen .common import Input , Output
5- from wdlgen .util import WdlBase
6- from wdlgen .workflowcall import WorkflowCallBase
4+ from .common import Input , Output
5+ from .util import WdlBase
6+ from .workflowcall import WorkflowCallBase
77
88
99class Workflow (WdlBase ):
Original file line number Diff line number Diff line change 11from abc import ABC , abstractmethod
22from typing import Dict , List
33
4- from wdlgen .task import Task
5- from wdlgen .util import WdlBase
4+ from .task import Task
5+ from .util import WdlBase
66
77
88class WorkflowCallBase (WdlBase , ABC ):
You can’t perform that action at this time.
0 commit comments