Skip to content

Commit 6489e31

Browse files
committed
Fast tracks changes from another repo
1 parent 1a54be7 commit 6489e31

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

tests/test_types.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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]

wdlgen/common.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from 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

77
class Input(WdlBase):

wdlgen/task.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from 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

77
class Task(WdlBase):

wdlgen/workflow.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
from typing import List, Any
22
import 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

99
class Workflow(WdlBase):

wdlgen/workflowcall.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
from abc import ABC, abstractmethod
22
from 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

88
class WorkflowCallBase(WdlBase, ABC):

0 commit comments

Comments
 (0)