Skip to content

Commit a7b5590

Browse files
committed
try with Dict type
1 parent 8eb5c67 commit a7b5590

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cwltool/provenance.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1493,14 +1493,14 @@ def _add_to_bagit(self, rel_path, **checksums):
14931493
self.add_to_manifest(rel_path, checksums)
14941494

14951495
def create_job(self,
1496-
builder_job, # type: Dict[Text, Any]
1496+
builder_job, # type: Dict
14971497
wf_job=None, # type: Callable[[Dict[Text, Text], Callable[[Any, Any], Any], RuntimeContext], Generator[Any, None, None]]
14981498
is_output=False
14991499
): # type: (...) -> Dict
15001500
#TODO customise the file
15011501
"""Generate the new job object with RO specific relative paths."""
15021502
copied = copy.deepcopy(builder_job)
1503-
relativised_input_objecttemp = {} # type: Dict[Text, Any]
1503+
relativised_input_objecttemp = {} # type: Dict
15041504
self._relativise_files(copied)
15051505
if is_output:
15061506
rel_path = posixpath.join(_posix_path(WORKFLOW), "primary-output.json")
@@ -1527,7 +1527,7 @@ def create_job(self,
15271527
return self.relativised_input_object
15281528

15291529
def _relativise_files(self, structure):
1530-
# type: (Any, Dict[Any, Any]) -> None
1530+
# type: (Any, Dict) -> None
15311531
"""Save any file objects into the RO and update the local paths."""
15321532
# Base case - we found a File we need to update
15331533
_logger.debug(u"[provenance] Relativising: %s", structure)

0 commit comments

Comments
 (0)