projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da07930
)
17462: Fix fetch_text() signature
author
Peter Amstutz <peter.amstutz@curii.com>
Wed, 7 Apr 2021 20:51:46 +0000
(16:51 -0400)
committer
Peter Amstutz <peter.amstutz@curii.com>
Wed, 7 Apr 2021 20:51:46 +0000
(16:51 -0400)
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>
sdk/cwl/arvados_cwl/fsaccess.py
patch
|
blob
|
history
diff --git
a/sdk/cwl/arvados_cwl/fsaccess.py
b/sdk/cwl/arvados_cwl/fsaccess.py
index 4688e65a3748348b8068bd27e1d9e78aa5a5e9de..16ec2b2f968e868104a4e0b18dad0a23654d4619 100644
(file)
--- a/
sdk/cwl/arvados_cwl/fsaccess.py
+++ b/
sdk/cwl/arvados_cwl/fsaccess.py
@@
-228,7
+228,7
@@
class CollectionFetcher(DefaultFetcher):
self.fsaccess = fs_access
self.num_retries = num_retries
- def fetch_text(self, url):
+ def fetch_text(self, url
, content_types=None
):
if url.startswith("keep:"):
with self.fsaccess.open(url, "r", encoding="utf-8") as f:
return f.read()