summaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/sandcrawler.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-06-04 00:10:50 -0700
committerBryan Newbold <bnewbold@archive.org>2020-06-04 00:10:50 -0700
commit35ff62b6383ba07f9549edbb652f04fa69fb046c (patch)
tree9072d4ce28b65bbaa9c111fb87f2e3e449198ecb /fatcat_scholar/sandcrawler.py
parent403fa63a7b2ab015b86e35e577218d045d1ea6ca (diff)
downloadfatcat-scholar-35ff62b6383ba07f9549edbb652f04fa69fb046c.tar.gz
fatcat-scholar-35ff62b6383ba07f9549edbb652f04fa69fb046c.zip
fmt
Diffstat (limited to 'fatcat_scholar/sandcrawler.py')
-rw-r--r--fatcat_scholar/sandcrawler.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/fatcat_scholar/sandcrawler.py b/fatcat_scholar/sandcrawler.py
index 66d5686..6f0f85c 100644
--- a/fatcat_scholar/sandcrawler.py
+++ b/fatcat_scholar/sandcrawler.py
@@ -52,7 +52,14 @@ class SandcrawlerMinioClient(object):
)
return obj_path
- def get_blob(self, folder: str, sha1hex: str, extension: str ="", prefix: str ="", bucket: Optional[str] = None) -> bytes:
+ def get_blob(
+ self,
+ folder: str,
+ sha1hex: str,
+ extension: str = "",
+ prefix: str = "",
+ bucket: Optional[str] = None,
+ ) -> bytes:
"""
sha1hex is sha1 of the blob itself