We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7df8203 commit c979aa1Copy full SHA for c979aa1
cwltool/provenance.py
@@ -690,7 +690,7 @@ def declare_directory(self, value):
690
return coll
691
692
def declare_string(self, value):
693
- # type: (Union[Text, str]) -> Tuple[ProvEntity,str]
+ # type: (Union[Text, str]) -> Tuple[ProvEntity,Text]
694
695
# Save as string in UTF-8
696
byte_s = io.BytesIO(str(value).encode(ENCODING))
@@ -700,7 +700,7 @@ def declare_string(self, value):
700
data_id = "data:%s" % posixpath.split(data_file)[1]
701
entity = self.document.entity(data_id,
702
{provM.PROV_TYPE: WFPROV["Artifact"],
703
- provM.PROV_VALUE: str(value)})
+ provM.PROV_VALUE: str(value)}) # type: ProvEntity
704
return entity, checksum
705
706
def declare_artefact(self, value):
0 commit comments