diff options
Diffstat (limited to 'python/sandcrawler/pdf.py')
-rw-r--r-- | python/sandcrawler/pdf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/sandcrawler/pdf.py b/python/sandcrawler/pdf.py index fb72dfe..b55e2bb 100644 --- a/python/sandcrawler/pdf.py +++ b/python/sandcrawler/pdf.py @@ -125,7 +125,7 @@ class PdfExtractWorker(SandcrawlerFetchWorker): sha1hex=default_key, ) - def process(self, record) -> dict: + def process(self, record, key: Optional[str] = None): default_key = record['sha1hex'] fetch_result = self.fetch_blob(record) |